예제 #1
0
        public void Read_DefaultValueMemberShouldBeOmittedNullableInt()
        {
            var test = new TestClassWithDefaultValuesNullableInt();
            var xr   = new XamlObjectReader(test);

            Read_DefaultValueMemberShouldBeOmittedNullableInt(xr);
        }
예제 #2
0
        public void Read_DefaultValueMemberShouldBeOmittedNullableIntNonDefault()
        {
            var test = new TestClassWithDefaultValuesNullableInt();

            test.NoDefaultValue       = 1;
            test.NullDefaultValue     = 2;
            test.SpecificDefaultValue = 3;
            test.ZeroDefaultValue     = 4;
            var xr = new XamlObjectReader(test);

            Read_DefaultValueMemberShouldBeOmittedNullableIntNonDefault(xr);
        }
		public void Read_DefaultValueMemberShouldBeOmittedNullableIntNonDefault()
		{
			var test = new TestClassWithDefaultValuesNullableInt();
			test.NoDefaultValue = 1;
			test.NullDefaultValue = 2;
			test.SpecificDefaultValue = 3;
			test.ZeroDefaultValue = 4;
			var xr = new XamlObjectReader(test);
			Read_DefaultValueMemberShouldBeOmittedNullableIntNonDefault(xr);
		}
		public void Read_DefaultValueMemberShouldBeOmittedNullableInt()
		{
			var test = new TestClassWithDefaultValuesNullableInt();
			var xr = new XamlObjectReader(test);
			Read_DefaultValueMemberShouldBeOmittedNullableInt(xr);
		}