Interface IContainerServiceRegistry
Registry for services registered in container.
Namespace:InfinniPlatform.IoC
Assembly:InfinniPlatform.Core.dll
Syntax
public interface IContainerServiceRegistry
Properties
| Improve this Doc View SourceServices
List of registered services.
Declaration
IEnumerable<Type> Services { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Type> |
Methods
| Improve this Doc View SourceIsRegistered(Type)
Checks if service is registered in container.
Declaration
bool IsRegistered(Type serviceType)
Parameters
Type | Name | Description |
---|---|---|
Type | serviceType | Service type. |
Returns
Type | Description |
---|---|
System.Boolean |
IsRegistered<TService>()
Checks if service is registered in container
Declaration
bool IsRegistered<TService>()where TService : class
Returns
Type | Description |
---|---|
System.Boolean |
Type Parameters
Name | Description |
---|---|
TService | Service type. |