ProviderInformation Constructor

Constructs a provider information snapshot.

Definition

Namespace: Numerics.NET.Providers
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
public ProviderInformation(
	string id,
	string name,
	Version compatibilityVersion,
	Version? providerVersion = null,
	bool isLegacy = false,
	ProviderCapabilities? reportedCapabilities = null,
	ProviderCapabilities? enabledCapabilities = null,
	string? libraryPath = null,
	string? backendName = null,
	string? backendVersion = null,
	string? compiler = null,
	string? buildArchitecture = null
)

Parameters

id  String
the stable provider identity. Third-party providers may define their own identities.
name  String
the human-readable provider name.
compatibilityVersion  Version
the Numerics.NET provider contract version, not the provider or backend product version.
providerVersion  Version  (Optional)
the provider or bridge implementation version, or null when unavailable.
isLegacy  Boolean  (Optional)
compatibility was inferred from a legacy contract rather than reported through current metadata.
reportedCapabilities  Nullable<ProviderCapabilities>  (Optional)
the capabilities reported by the provider, or null when unreported. None is an explicitly empty set.
enabledCapabilities  Nullable<ProviderCapabilities>  (Optional)
the accepted provider-supplied capabilities, or null when unknown. Independent managed fallbacks are excluded.
libraryPath  String  (Optional)
the resolved native library path, or null when not applicable or unknown.
backendName  String  (Optional)
the underlying implementation library name, or null when unavailable.
backendVersion  String  (Optional)
the backend version text, or null when unavailable. This does not determine compatibility.
compiler  String  (Optional)
the compiler description, or null when unavailable.
buildArchitecture  String  (Optional)
the build architecture, or null when unavailable.

Exceptions

ArgumentNullExceptionThe identity, name, or compatibility version is null.

See Also