Class BaseDataProvider
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 : BaseService, IMixedRealityDataProvider, IMixedRealityService, IDisposable
Remarks
Empty, but reserved for future use, in case additional IMixedRealityDataProvider properties or methods are assigned.
Constructors
BaseDataProvider(IMixedRealityService, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
protected BaseDataProvider(IMixedRealityService service, string name = null, uint priority = 10U, BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
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. |
BaseDataProvider(IMixedRealityServiceRegistrar, IMixedRealityService, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
[Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
protected 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
[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 IMixedRealityService Service { get; set; }
Property Value
Type | Description |
---|---|
IMixedRealityService |