Interface IServiceCollection
Specifies the contract of service entry sets.
Assembly: Solti.Utils.DI.Interfaces.dll
Syntax
public interface IServiceCollection
Methods
Contains(IServiceId)
Determines if the collection contains entry with the specific id
Declaration
bool Contains(IServiceId id)
Parameters
Returns
Type |
Description |
System.Boolean |
|
MakeReadOnly()
Makes this collection read only.
Declaration
Remove(IServiceId)
Removes the entry associated with the given id
.
Declaration
bool Remove(IServiceId id)
Parameters
Returns
Type |
Description |
System.Boolean |
|
TryFind(IServiceId)
Tries to find the entry associated with the given id
.
Declaration
AbstractServiceEntry TryFind(IServiceId id)
Parameters
Returns
Extension Methods