IntegrityContainer.RegisterFactory Method
Name | Parameters | Description |
---|---|---|
RegisterFactory<TServiceType>(Func<TServiceType>) | factory | Registers a delegate to resolve an instance of the specified type with a specified TServiceType key. |
RegisterFactory<TServiceType>(Func<IServiceProvider, TServiceType>) | factory | Registers a delegate with the specified container as an argument to resolve an instance of the specified type with a corresponding TServiceType key. |