Editar

Compartilhar via


IMixedRealityDataProviderAccess.GetDataProviders Method

Definition

Overloads

GetDataProviders()

Gets the collection of registered data providers.

GetDataProviders<T>()

Get the collection of registered observers of the specified type.

GetDataProviders()

Gets the collection of registered data providers.

public:
 System::Collections::Generic::IReadOnlyList<Microsoft::MixedReality::Toolkit::IMixedRealityDataProvider ^> ^ GetDataProviders();
public System.Collections.Generic.IReadOnlyList<Microsoft.MixedReality.Toolkit.IMixedRealityDataProvider> GetDataProviders ();
abstract member GetDataProviders : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.MixedReality.Toolkit.IMixedRealityDataProvider>
Public Function GetDataProviders () As IReadOnlyList(Of IMixedRealityDataProvider)

Returns

Read only copy of the list of registered data providers.

Applies to

GetDataProviders<T>()

Get the collection of registered observers of the specified type.

public:
generic <typename T>
 where T : Microsoft::MixedReality::Toolkit::IMixedRealityDataProvider System::Collections::Generic::IReadOnlyList<T> ^ GetDataProviders();
public System.Collections.Generic.IReadOnlyList<T> GetDataProviders<T> () where T : Microsoft.MixedReality.Toolkit.IMixedRealityDataProvider;
abstract member GetDataProviders : unit -> System.Collections.Generic.IReadOnlyList<'T (requires 'T :> Microsoft.MixedReality.Toolkit.IMixedRealityDataProvider)> (requires 'T :> Microsoft.MixedReality.Toolkit.IMixedRealityDataProvider)
Public Function GetDataProviders(Of T As IMixedRealityDataProvider) () As IReadOnlyList(Of T)

Type Parameters

T

The desired data provider type

Returns

Read-only copy of the list of registered data providers that implement the specified type.

Applies to