Represents a named association between two types.
SystemObject SystemAttribute Extreme.Mathematics.GenericTypeAssociationAttribute
Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16073.0)
public class TypeAssociationAttribute : Attribute
Public Class TypeAssociationAttribute
public ref class TypeAssociationAttribute : public Attribute
type TypeAssociationAttribute =
The TypeAssociationAttribute type exposes the following members.
Gets the key that specifies the nature of the type association.
Gets the owner type of the association.
|TypeId| (Inherited from Attribute.)
When implemented in a derived class, gets a unique identifier for this Attribute
Gets the value of the type association.
Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Returns the hash code for this instance. (Inherited from Attribute.)
|GetType| (Inherited from Object.)
Gets the Type
of the current instance.
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
|MemberwiseClone| (Inherited from Object.)
Creates a shallow copy of the current Object
Returns a string that represents the current object. (Inherited from Object.)
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.
Supported in: 6.0, 5.x, 4.x