Exemplo n.º 1
0
        static ContainerManager()
        {
            var container = new PhoenixContainer();

            container.RegisterAssembly(Assembly.GetExecutingAssembly());

            Default = container;
        }
Exemplo n.º 2
0
 private void RegisterContainer(PhoenixContainer container)
 {
     RegisterType <IPhoenixContainer, PhoenixContainer>();
     _instanceList.SetInstance(typeof(IPhoenixContainer), typeof(PhoenixContainer), container);
 }