Bearbeiten

Freigeben über


MixedRealityServiceRegistry.GetAllServices Method

Definition

Overloads

GetAllServices()

Returns readonly list of all services registered

GetAllServices(IMixedRealityServiceRegistrar)

Returns readonly list of all services registered for given registrar

GetAllServices()

Returns readonly list of all services registered

public:
 static System::Collections::Generic::IReadOnlyList<Microsoft::MixedReality::Toolkit::IMixedRealityService ^> ^ GetAllServices();
public static System.Collections.Generic.IReadOnlyList<Microsoft.MixedReality.Toolkit.IMixedRealityService> GetAllServices ();
static member GetAllServices : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.MixedReality.Toolkit.IMixedRealityService>
Public Shared Function GetAllServices () As IReadOnlyList(Of IMixedRealityService)

Returns

Remarks

The list is sorted in ascending priority order.

Applies to

GetAllServices(IMixedRealityServiceRegistrar)

Returns readonly list of all services registered for given registrar

public:
 static System::Collections::Generic::IReadOnlyCollection<Microsoft::MixedReality::Toolkit::IMixedRealityService ^> ^ GetAllServices(Microsoft::MixedReality::Toolkit::IMixedRealityServiceRegistrar ^ registrar);
public static System.Collections.Generic.IReadOnlyCollection<Microsoft.MixedReality.Toolkit.IMixedRealityService> GetAllServices (Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar registrar);
static member GetAllServices : Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar -> System.Collections.Generic.IReadOnlyCollection<Microsoft.MixedReality.Toolkit.IMixedRealityService>
Public Shared Function GetAllServices (registrar As IMixedRealityServiceRegistrar) As IReadOnlyCollection(Of IMixedRealityService)

Parameters

registrar
IMixedRealityServiceRegistrar

Registrar object to filter services by

Returns

Readonly list of all services registered for given registrar, all services if parameter null. If given a registrar that the registry is not aware of, returns null.

Remarks

The list is sorted in ascending priority order.

Applies to