public AttributeMappingFactory(Type type, MapAttribute mapAttribute, string name, bool validation)
 {
     Type = type;
     this.mapAttribute = mapAttribute;
     Name            = name;
     this.validation = validation;
 }
Esempio n. 2
0
        public void CoverageFix()
        {
            var attribute = new MapAttribute(0);

            Assert.False(attribute.HasNullFiller);
            Assert.Equal(0, attribute.NullFiller);

            Assert.Throws <ArgumentOutOfRangeException>(() => new MapAttribute(-1));
        }