Class BackendRegistration
- Namespace
- Orleans.GpuBridge.Abstractions.Providers
- Assembly
- Orleans.GpuBridge.Abstractions.dll
Registration information for a backend provider
public sealed record BackendRegistration : IEquatable<BackendRegistration>
- Inheritance
-
BackendRegistration
- Implements
- Inherited Members
Constructors
BackendRegistration(string, string, Type?, Func<IServiceProvider, IGpuBackendProvider>?, int)
Registration information for a backend provider
public BackendRegistration(string ProviderId, string DisplayName, Type? ProviderType = null, Func<IServiceProvider, IGpuBackendProvider>? Factory = null, int Priority = 100)
Parameters
ProviderIdstringDisplayNamestringProviderTypeTypeFactoryFunc<IServiceProvider, IGpuBackendProvider>Priorityint
Properties
DisplayName
public string DisplayName { get; init; }
Property Value
Factory
public Func<IServiceProvider, IGpuBackendProvider>? Factory { get; init; }
Property Value
Priority
public int Priority { get; init; }
Property Value
ProviderId
public string ProviderId { get; init; }
Property Value
ProviderType
public Type? ProviderType { get; init; }