예제 #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>();
        }
예제 #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>();
        }