Type Association Attribute Class
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public class TypeAssociationAttribute : Attribute
Remarks
Use the TypeAssociationAttribute attribute to specify a relationship between two types. Type associations are stored in a global TypeAssociationRegistry.
Type associations have three components. The Owner is the type instance that has a property specified by the Key value with value Value. One key has been predefined. ArithmeticKey is used to associate the type that implements generic arithmetic operations (the value) with the operand type (the owner).
This attribute can be defined as an assembly-level attribute, or on types. If it is defined on a type, this type is the Owner of the association.
Constructors
Type | Constructs a new TypeAssociationAttribute |
Type | Constructs a new TypeAssociationAttribute |
Properties
Key | Gets the key that specifies the nature of the type association. |
Owner | Gets the owner type of the association. |
Type | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute) |
Value | Gets the value of the type association. |
Methods
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get | Returns the hash code for this instance. (Inherited from Attribute) |
Get | Gets the Type of the current instance. (Inherited from Object) |
IsDefault | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute) |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |