Delegate ServiceFactory
A factory method used to resolve all services. For multiple instances, it will resolve against System.Collections.Generic.IEnumerable<T>.
Namespace: Umbraco.Cms.Core.Events
Assembly: Umbraco.Core.dll
Syntax
public delegate object ServiceFactory(Type serviceType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | serviceType | Type of service to resolve. |
Returns
| Type | Description |
|---|---|
| object | An instance of type |