Numerics Configuration.Use Nullable Operations<T> Method
Sets the operations implementation for the nullable version of the specified value type.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
public static void UseNullableOperations<T>()
where T : struct, new()
Type Parameters
- T
- The operand value type.
Remarks
Installs the canonical adapter for this nullable type only. Repeated calls are idempotent. Register component operations before their numerical resolution; null metadata does not resolve the component.
On modern frameworks this typed boundary preserves component interface metadata used to describe nullable default ordering under trimming. Generic forwarding methods must propagate that metadata requirement.