public void PrivateEmptyConstructorTest() { var discriminatorConfiguration = new InheritanceDiscriminatorConfiguration(); discriminatorConfiguration.Add <MyAbstractClass>(x => x.Discriminator, typeof(MyImplementationWithPrivateEmptyConstructor)); }
public void ConstructorContainingValidParametersTest() { var discriminatorConfiguration = new InheritanceDiscriminatorConfiguration(); discriminatorConfiguration.Add <MyAbstractClass>(x => x.Discriminator, typeof(MyImplementationWithConstructorContainingValidParameters)); }