Interface IServiceActivator
Describes the contract how to create servive instances.
Inherited Members
Namespace: Solti.Utils.DI.Interfaces
Assembly: Solti.Utils.DI.Interfaces.dll
Syntax
public interface IServiceActivator : IInjector, IHasTag
Properties
Super
The parent factory. NULL in case of root factory.
Declaration
IServiceActivator Super { get; }
Property Value
Type | Description |
---|---|
IService |
Methods
GetOrCreateInstance(AbstractServiceEntry)
Gets or creates a service instance.
Declaration
object GetOrCreateInstance(AbstractServiceEntry service)
Parameters
Type | Name | Description |
---|---|---|
Abstract |
service |
Returns
Type | Description |
---|---|
System. |