Catel.IoC.IoCFactory.IoCFactory C# (CSharp) Method

IoCFactory() static private method

Initializes static members of the IoCFactory class.
static private IoCFactory ( ) : System
return System
        static IoCFactory()
        {
            CreateServiceLocatorFunc = () => new ServiceLocator();
            CreateDependencyResolverFunc = serviceLocator => new CatelDependencyResolver(serviceLocator);
            CreateTypeFactoryFunc = serviceLocator => new TypeFactory(serviceLocator);

            TypeCache.AssemblyLoaded += OnAssemblyLoaded;
        }
        #endregion