Exemple #1
0
        public void TestAbstractClassResolveThrowingExceptionCannotCreateAbstractClass()
        {
            SimpleContainer container = new SimpleContainer();

            Assert.ThrowsException <MemberAccessException>(() =>
            {
                AbstractClassImplementingInterface abstractObject1 =
                    container.Resolve <AbstractClassImplementingInterface>();
            });
        }
Exemple #2
0
 public ManySameLengthConstructors(AbstractClassImplementingInterface i,
                                   AbstractClassImplementingInterface j)
 {
 }