IGetServices.GetService() 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.
T GetService<T>() - 2.
T GetService<T>(string contract)
1. Overload¶
T GetService<T>()
Summary: Gets the service.
Type parameters
| Name | Description |
|---|---|
T | The service type. |
Returns: T --
A service of the provided type.
2. Overload¶
T GetService<T>(string contract)
Summary: Gets the service.
Type parameters
| Name | Description |
|---|---|
T | The service type. |
Parameters
| Name | Type | Description |
|---|---|---|
contract | string | The contract. |
Returns: T --
A service of the provided type.