GetService<T>()
Gets a service implementation.
Declaration
public static T GetService<T>() where T : classReturns
| Type | Description |
|---|---|
| T | An implementation of |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the requested service interface. |
Gets a service implementation.
public static T GetService<T>() where T : class| Type | Description |
|---|---|
| T | An implementation of |
| Name | Description |
|---|---|
| T | The type of the requested service interface. |