Class BaseDataProvider<T>
The base data provider implements IMixedRealityDataProvider and provides default properties for all data providers.
Inheritance
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit
Assembly: cs.temp.dll.dll
Syntax
public abstract class BaseDataProvider<T> : BaseService, IMixedRealityDataProvider, IMixedRealityService, IDisposable where T : IMixedRealityService
Type Parameters
Name | Description |
---|---|
T |
Constructors
BaseDataProvider(T, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
protected BaseDataProvider(T service, string name = null, uint priority = 10U, BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
T | service | The IMixedRealityService to which the provider is providing data. |
String | name | The friendly name of the data provider. |
UInt32 | priority | The registration priority of the data provider. |
BaseMixedRealityProfile | profile | The configuration profile for the data provider. |
Properties
Registrar
The service registrar instance that registered this service.
Declaration
[Obsolete("The Registrar property is obsolete and will be removed in a future version of the Microsoft Mixed Reality Toolkit")]
protected IMixedRealityServiceRegistrar Registrar { get; set; }
Property Value
Type | Description |
---|---|
IMixedRealityServiceRegistrar |
Service
The service instance to which this provider is providing data.
Declaration
protected T Service { get; set; }
Property Value
Type | Description |
---|---|
T |