Interface IServiceInitialRegistration
Interface for configuring service registration.
Namespace: Unity.Cloud.Collaboration.Services.ServicesContainer
Assembly: Unity.Cloud.Collaboration.dll
Syntax
public interface IServiceInitialRegistration
Methods
AsService<TContract>()
Registers the service as implementing an specified contract type.
Declaration
IServiceRegistration AsService<TContract>() where TContract : class
Returns
| Type | Description |
|---|---|
| IServiceRegistration | The service registration for further configuration. |
Type Parameters
| Name | Description |
|---|---|
| TContract | The contract type the service implements. |