Skip to content

IGetServices.GetServices() method

Defined in

Type: IGetServices Namespace: ReactiveMarbles.Locator Assembly: ReactiveMarbles.Locator.dll

Applies to

net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.0

Overloads

  • 1. IEnumerable<T> GetServices<T>()
  • 2. IEnumerable<T> GetServices<T>(string contract)

1. Overload

IEnumerable<T> GetServices<T>()

Summary: Gets the services.

Type parameters

NameDescription
TThe service type.

Returns: IEnumerable -- An enumerable of services for the provided type.

2. Overload

IEnumerable<T> GetServices<T>(string contract)

Summary: Gets the services.

Type parameters

NameDescription
TThe service type.

Parameters

NameTypeDescription
contractstringThe contract.

Returns: IEnumerable -- An enumerable of services for the provided type.