Class BaseDataProvider
The base data provider implements IMixedRealityDataProvider and provides default properties for all data providers.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit
Assembly: cs.temp.dll.dll
Syntax
public abstract class BaseDataProvider : BaseService, IMixedRealityDataProvider, IMixedRealityService, IDisposable
Remarks
Empty, but reserved for future use, in case additional IMixedRealityDataProvider properties or methods are assigned.
Constructors
BaseDataProvider(IMixedRealityServiceRegistrar, IMixedRealityService, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public BaseDataProvider(IMixedRealityServiceRegistrar registrar, IMixedRealityService service, string name = null, uint priority = 10U, BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityServiceRegistrar | registrar | The IMixedRealityServiceRegistrar instance that loaded the data provider. |
IMixedRealityService | 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
protected IMixedRealityServiceRegistrar Registrar { get; set; }
Property Value
Type | Description |
---|---|
IMixedRealityServiceRegistrar |
Service
The service instance to which this provider is providing data.
Declaration
protected IMixedRealityService Service { get; set; }
Property Value
Type | Description |
---|---|
IMixedRealityService |