/// <summary>
 /// Initializes the test0.
 /// </summary>
 /// <returns>a created and initialized object.</returns>
 public static object InitializeTest2()
 {
     ObjectWithDictionaryOfObject lResult = new ObjectWithDictionaryOfObject();
     lResult.ObjectValues = new SortedDictionary<int, SimpleObject>();
     lResult.ObjectValues.Add(0, new SimpleObject { DoubleValue = 0.0 });
     lResult.ObjectValues.Add(12, new SimpleObject { DoubleValue = 12.0 });
     lResult.ObjectValues.Add(24, new SimpleObject { DoubleValue = 24.0 });
     lResult.ObjectValues.Add(48, new SimpleObject { DoubleValue = 48.0 });
     return lResult;
 }
예제 #2
0
        /// <summary>
        /// Initializes the test0.
        /// </summary>
        /// <returns>a created and initialized object.</returns>
        public static object InitializeTest2()
        {
            ObjectWithDictionaryOfObject lResult = new ObjectWithDictionaryOfObject();

            lResult.ObjectValues = new SortedDictionary <int, SimpleObject>();
            lResult.ObjectValues.Add(0, new SimpleObject {
                DoubleValue = 0.0
            });
            lResult.ObjectValues.Add(12, new SimpleObject {
                DoubleValue = 12.0
            });
            lResult.ObjectValues.Add(24, new SimpleObject {
                DoubleValue = 24.0
            });
            lResult.ObjectValues.Add(48, new SimpleObject {
                DoubleValue = 48.0
            });
            return(lResult);
        }
예제 #3
0
        /// <summary>
        /// Initializes the test0.
        /// </summary>
        /// <returns>a created and initialized object.</returns>
        public static object InitializeTest0()
        {
            ObjectWithDictionaryOfObject lResult = new ObjectWithDictionaryOfObject();

            return(lResult);
        }
 /// <summary>
 /// Initializes the test0.
 /// </summary>
 /// <returns>a created and initialized object.</returns>
 public static object InitializeTest0()
 {
     ObjectWithDictionaryOfObject lResult = new ObjectWithDictionaryOfObject();
     return lResult;
 }