RegisterService<T>(T)
Registers a service.
Declaration
public static void RegisterService<T>(T service) where T : class
Parameters
Type | Name | Description |
---|---|---|
T | service | Service implementation. |
Type Parameters
Name | Description |
---|---|
T | Type of the service interface. |