Skip to content

CurrentPlatformEnlightenmentProvider.GetService(object[]) method

Defined in

Type: CurrentPlatformEnlightenmentProvider Namespace: System.Reactive.PlatformServices Assembly: System.Reactive.dll

Applies to

netstandard2.0

public virtual T? GetService<T>(object[] args) where T : class

Summary: (Infrastructure) Tries to gets the specified service.

Type parameters

NameDescription
TService type.

Parameters

NameTypeDescription
argsobject[]Optional set of arguments.

Returns: T? -- Service instance or null if not found.