Associations are a way of associating dictionaries of
operations with given types at runtime. Associations are global to a
.NET application domain. Once specified an association may not be deleted
or modified.
In this release the system of associations is simply
limited to a registry of types that support dictionaries (i.e. interface objects)
of numeric operations. The following types are pre-registered with associated numeric
operations: float, int32, int64, bigint, float32, Complex, bignum. Other types must be
registered explicitly by user code.
Values
Deprecated Values
Value | Description |
[<Obsolete ("Consider using GetNumericAssociation instead")>]
val getNumericAssociation : ReifiedType<'a> -> INumeric<'a> option | Note: Consider using GetNumericAssociation instead
Attempt to determine a numeric association for the given type, i.e. a registered dictionary of
numeric operations. The interface can be queried dynamically for additional functionality in the numerics
hierarchy.
|
[<Obsolete ("Consider using RegisterNumericAssociation instead")>]
val registerNumericAssociation : ReifiedType<'a> -> #INumeric<'a> -> unit | Note: Consider using RegisterNumericAssociation instead
Record an AppDomain-wide association between the given type and the given dictionary of
numeric operations. Raise an error if an existing association already exists.
|
|