Class ParameterKey<T>
Key of an gereric effect parameter.
public abstract class ParameterKey<T> : ParameterKey, IComparable
Type Parameters
T
Type 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
type
ParameterKeyTypename
stringThe name.
length
intThe length.
metadata
PropertyKeyMetadataThe 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
type
ParameterKeyTypename
stringThe name.
length
intThe length.
metadatas
PropertyKeyMetadata[]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
metadata
PropertyKeyMetadata
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.