Catel.Test.IoC.TypeFactoryFacts.TheCreateInstanceWithAutoCompletionMethod.CreatesTypeWithInjectionConstructorAttribute C# (CSharp) 메소드

CreatesTypeWithInjectionConstructorAttribute() 개인적인 메소드

private CreatesTypeWithInjectionConstructorAttribute ( ) : void
리턴 void
            public void CreatesTypeWithInjectionConstructorAttribute()
            {
                var typeFactory = TypeFactory.Default;

                var instance = typeFactory.CreateInstance<ClassWithSeveralMatchesForDependencyInjection>();

                Assert.IsTrue(instance.IsRightConstructorUsed);
            }