예제 #1
0
파일: FullModel.cs 프로젝트: mastertnt/XRay
        /// <summary>
        /// Initializes the test0.
        /// </summary>
        /// <returns>a created and initialized object.</returns>
        public static object InitializeTest0()
        {
            FullModel lResult = new FullModel();

            lResult.DoubleValue  = 73.25;
            lResult.BooleanValue = true;
            lResult.KeyValuePair = new KeyValuePair <double, double?>(44, 22.21);
            lResult.Tuple        = new Tuple <double, double, double, double, bool>(12.1, 12.2, 12.3, 12.4, true);
            lResult.SimpleObject = SimpleObject.InitializeTest1() as SimpleObject;
            lResult.DateTime     = new DateTime(1977, 03, 15);
            lResult.EnumValue    = PipoState.Broken;
            lResult.ReadOnly     = 63;
            return(lResult);
        }
예제 #2
0
파일: FullModel.cs 프로젝트: mastertnt/XRay
 /// <summary>
 /// Initializes the test0.
 /// </summary>
 /// <returns>a created and initialized object.</returns>
 public static object InitializeTest0()
 {
     FullModel lResult = new FullModel();
     lResult.DoubleValue = 73.25;
     lResult.BooleanValue = true;
     lResult.KeyValuePair = new KeyValuePair<double, double?>(44, 22.21);
     lResult.Tuple = new Tuple<double, double, double, double, bool>(12.1, 12.2, 12.3, 12.4, true);
     lResult.SimpleObject = SimpleObject.InitializeTest1() as SimpleObject;
     lResult.DateTime = new DateTime(1977, 03, 15);
     lResult.EnumValue = PipoState.Broken;
     lResult.ReadOnly = 63;
     return lResult;
 }