SelectorAttribute Class

Annotation for selection of sub types.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
[AttributeUsageAttribute(AttributeTargets.Field)]
public class SelectorAttribute : Attribute
Inheritance
Object    Attribute    SelectorAttribute

Constructors

SelectorAttribute Default constructor.

Properties

Pad Pad all sub types to same length.
Subtypes Available sub types.
TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)

Methods

EqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
MatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Explicit Interface Implementations

_AttributeGetIDsOfNamesMaps a set of names to a corresponding set of dispatch identifiers.
(Inherited from Attribute)
_AttributeGetTypeInfoRetrieves the type information for an object, which can be used to get the type information for an interface.
(Inherited from Attribute)
_AttributeGetTypeInfoCountRetrieves the number of type information interfaces that an object provides (either 0 or 1).
(Inherited from Attribute)
_AttributeInvokeProvides access to properties and methods exposed by an object.
(Inherited from Attribute)

See Also