Catel.Test.Data.ModelBaseTest.PropertiesAreRegisteredWithGenerics C# (CSharp) Méthode

PropertiesAreRegisteredWithGenerics() private méthode

private PropertiesAreRegisteredWithGenerics ( ) : void
Résultat void
        public void PropertiesAreRegisteredWithGenerics()
        {
            var model = new TestModelWithGenericPropertyRegistrations();

            Assert.IsTrue(model.IsPropertyRegistered("ValueType"));
            Assert.IsTrue(model.IsPropertyRegistered("ValueTypeWithDefaultValue"));
            Assert.IsTrue(model.IsPropertyRegistered("ReferenceType"));
            Assert.IsTrue(model.IsPropertyRegistered("ReferenceTypeWithDefaultValue"));
        }
#endif
ModelBaseTest