Class ServiceConfiguration<T>
Namespace: RealityCollective.ServiceFramework.Definitions
Defines a IService to be registered with the ServiceManager.
public class ServiceConfiguration<T> : ServiceConfiguration, IServiceConfiguration<T>, IServiceConfiguration where T : IService
Type Parameters
T
Inheritance
object ← ServiceConfiguration ← ServiceConfiguration<T>
Implements
IServiceConfiguration<T>, IServiceConfiguration
Inherited Members
ServiceConfiguration.Enabled, ServiceConfiguration.InstancedType, ServiceConfiguration.Name, ServiceConfiguration.Priority, ServiceConfiguration.Profile, ServiceConfiguration.RuntimePlatforms
Constructors
ServiceConfiguration(IServiceConfiguration)
public ServiceConfiguration(IServiceConfiguration configuration)
Parameters
configuration IServiceConfiguration
ServiceConfiguration(SystemType, string, uint, IReadOnlyList<IPlatform>, BaseProfile)
Constructor.
public ServiceConfiguration(SystemType instancedType, string name, uint priority, IReadOnlyList<IPlatform> runtimePlatforms, BaseProfile profile)
Parameters
instancedType SystemType
The concrete type for the IService.
name string
The simple, human readable name for the IService.
priority uint
The priority this IService will be initialized in.
runtimePlatforms IReadOnlyList<IPlatform>
profile BaseProfile
The BaseProfile for IService.
Properties
Enabled
public override bool Enabled { get; }
Property Value
bool