public static TestClassWithStruct MakeTestClassWithStruct() { var retVal = new TestClassWithStruct { ID = _key++ }; retVal.Structs.Add(new TestStruct { Date = DateTime.Now, Value = new Random().Next() }); return(retVal); }
public static TestClassWithStruct MakeTestClassWithStruct() { var retVal = new TestClassWithStruct {ID = _key++}; retVal.Structs.Add(new TestStruct { Date=DateTime.Now, Value = new Random().Next()}); return retVal; }