Esempio n. 1
0
 public DataSerializableType(int runnerCount, int raceCount)
 {
     _runnerCount = runnerCount;
     _raceCount   = raceCount;
     _runnerInfos = new DataSerializableBasicType[runnerCount, raceCount];
     for (var i = 0; i < _runnerCount; i++)
     {
         for (var j = 0; j < _raceCount; j++)
         {
             _runnerInfos[i, j] = new DataSerializableBasicType();
         }
     }
 }
Esempio n. 2
0
 public void ReadData(IObjectDataInput input)
 {
     _runnerCount = input.ReadInt();
     _raceCount   = input.ReadInt();
     _runnerInfos = new DataSerializableBasicType[_runnerCount, _raceCount];
     for (var i = 0; i < _runnerCount; i++)
     {
         for (var j = 0; j < _raceCount; j++)
         {
             _runnerInfos[i, j] = new DataSerializableBasicType();
             _runnerInfos[i, j].ReadData(input);
         }
     }
 }
 public void ReadData(IObjectDataInput input)
 {
     _runnerCount = input.ReadInt();
     _raceCount = input.ReadInt();
     _runnerInfos = new DataSerializableBasicType[_runnerCount, _raceCount];
     for (int i = 0; i < _runnerCount; i++)
     {
         for (int j = 0; j < _raceCount; j++)
         {
             _runnerInfos[i, j] = new DataSerializableBasicType();
             _runnerInfos[i, j].ReadData(input);
         }
     }
 }
 public DataSerializableType(int runnerCount, int raceCount)
 {
     _runnerCount = runnerCount;
     _raceCount = raceCount;
     _runnerInfos = new DataSerializableBasicType[runnerCount,raceCount];
     for (int i = 0; i < _runnerCount; i++)
     {
         for (int j = 0; j < _raceCount; j++)
         {
             _runnerInfos[i, j] = new DataSerializableBasicType();
         }
     }
 }