Пример #1
0
        /// <summary>
        /// Initializes the test1.
        /// </summary>
        /// <returns>a created and initialized object.</returns>
        public static object InitializeTest1()
        {
            ObjectWithNoKeyedList lResult = new ObjectWithNoKeyedList();

            lResult.Positions = new List <Position>();
            return(lResult);
        }
Пример #2
0
 /// <summary>
 /// Initializes the test0.
 /// </summary>
 /// <returns>a created and initialized object.</returns>
 public static object InitializeTest0()
 {
     ObjectWithNoKeyedList lResult = new ObjectWithNoKeyedList();
     lResult.Positions = new List<Position>();
     lResult.Positions.Add(new Position { X = 12, Y = 44 });
     lResult.Positions.Add(new Position { X = 77, Y = 44 });
     return lResult;
 }
Пример #3
0
        /// <summary>
        /// Initializes the test0.
        /// </summary>
        /// <returns>a created and initialized object.</returns>
        public static object InitializeTest0()
        {
            ObjectWithNoKeyedList lResult = new ObjectWithNoKeyedList();

            lResult.Positions = new List <Position>();
            lResult.Positions.Add(new Position {
                X = 12, Y = 44
            });
            lResult.Positions.Add(new Position {
                X = 77, Y = 44
            });
            return(lResult);
        }
Пример #4
0
 /// <summary>
 /// Initializes the test1.
 /// </summary>
 /// <returns>a created and initialized object.</returns>
 public static object InitializeTest1()
 {
     ObjectWithNoKeyedList lResult = new ObjectWithNoKeyedList();
     lResult.Positions = new List<Position>();
     return lResult;
 }