An AttributeSource contains a list of different {@link AttributeImpl}s,
and methods to add and get them. There can only be a single instance
of an attribute in the same AttributeSource instance. This is ensured
by passing in the actual type of the Attribute (Class<Attribute>) to
the {@link #AddAttribute(Class)}, which then checks if an instance of
that type is already present. If yes, it returns the instance, otherwise
it creates a new instance and returns it.
The AttributeSource..::..State type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AttributeSource..::..State | Initializes a new instance of the AttributeSource..::..State class |
Methods
Name | Description | |
---|---|---|
Clone | ||
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |