Class ParameterKey<T>
Key of an gereric effect parameter.
public abstract class ParameterKey<T> : ParameterKey, IComparable
Type Parameters
TType of the parameter key.
- Inheritance
-
ParameterKey<T>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ParameterKey(ParameterKeyType, string, int, PropertyKeyMetadata)
Initializes a new instance of the ParameterKey<T> class.
protected ParameterKey(ParameterKeyType type, string name, int length, PropertyKeyMetadata metadata)
Parameters
typeParameterKeyTypenamestringThe name.
lengthintThe length.
metadataPropertyKeyMetadataThe metadata.
ParameterKey(ParameterKeyType, string, int, params PropertyKeyMetadata[])
Initializes a new instance of the ParameterKey<T> class.
protected ParameterKey(ParameterKeyType type, string name, int length = 1, params PropertyKeyMetadata[] metadatas)
Parameters
typeParameterKeyTypenamestringThe name.
lengthintThe length.
metadatasPropertyKeyMetadata[]The metadatas.
Properties
DefaultValueMetadataT
public ParameterKeyValueMetadata<T> DefaultValueMetadataT { get; }
Property Value
IsValueType
public override bool IsValueType { get; }
Property Value
Size
public override int Size { get; }
Property Value
Methods
SetupMetadata(PropertyKeyMetadata)
protected override void SetupMetadata(PropertyKeyMetadata metadata)
Parameters
metadataPropertyKeyMetadata
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.