The ServiceLocator type exposes the following members.

Methods

  NameDescription
Public methodStatic memberGetRequiredService(Type)
Get service of the specified type
Public methodStatic memberGetRequiredService<(Of <<'(T>)>>)()()()()
Get service of type T
Public methodStatic memberGetService(Type)
Get service of the specified type
Public methodStatic memberGetService<(Of <<'(T>)>>)()()()()
Get service of type T
Public methodStatic memberGetServices(Type)
Get services of the specified type
Public methodStatic memberGetServices<(Of <<'(T>)>>)()()()()
Get services of type T
Public methodStatic memberSetServiceProvider

See Also