Interface INamedServiceProvider
Contract for a shared application service providing named services.
Namespace: Kephas.Services
Assembly: Kephas.Core.dll
Syntax
[SingletonAppServiceContract]
public interface INamedServiceProvider
Methods
| Improve this Doc View SourceGetNamedService<TService>(String)
Gets the service with the provided name.
Declaration
TService GetNamedService<TService>(string serviceName)
Parameters
Type | Name | Description |
---|---|---|
System.String | serviceName | Name of the service. |
Returns
Type | Description |
---|---|
TService | The named service. |
Type Parameters
Name | Description |
---|---|
TService | Type of the service. |