Ejemplo n.º 1
0
        private void RegisterDependencies()
        {
            Type t = typeof (ITestImplementation);

            //GlobalIocContainer.Instance().RegisterUserSpecificITypesOf(t.Assembly);
            GlobalIocContainer.Instance().RegisterUserSpecificITypesOf(t.Assembly, "START");

            Impl = GlobalIocContainer.Instance().Resolve<ITestImplementation>();
        }
Ejemplo n.º 2
0
        private void RegisterDependencies()
        {
            Type t = typeof(ITestImplementation);

            //GlobalIocContainer.Instance().RegisterUserSpecificITypesOf(t.Assembly);
            GlobalIocContainer.Instance().RegisterUserSpecificITypesOf(t.Assembly, "START");

            Impl = GlobalIocContainer.Instance().Resolve <ITestImplementation>();
        }