DotNetWorkQueue.QueueCreationContainer.SetContainerFactory C# (CSharp) Method

SetContainerFactory() public static method

Sets the container creation function. This allows you to use your own IoC container, instead of the built in one.
public static SetContainerFactory ( Func createContainer ) : void
createContainer Func
return void
        public static void SetContainerFactory(Func<ICreateContainer<T>> createContainer)
        {
            Guard.NotNull(() => createContainer, createContainer);
            _createContainerInternal = createContainer;
        }
        #endregion