BuildIt.Autofac.AutofacServiceLocator.AutofacServiceLocator C# (CSharp) Method

AutofacServiceLocator() public method

Initializes a new instance of the AutofacServiceLocator class.
/// Thrown if is . ///
public AutofacServiceLocator ( IComponentContext container ) : Autofac
container IComponentContext /// The from which services /// should be located. ///
return Autofac
        public AutofacServiceLocator(IComponentContext container)
        {
            if (container == null)
            {
                throw new ArgumentNullException("container");
            }
            this.container = container;
        }