Exemple #1
0
        /// <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);
        }
Exemple #2
0
 /// <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;
 }