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);
            }