ReadToNextArrayValue() protected abstract method

Advances the reader to the next array value following the current position.
protected abstract ReadToNextArrayValue ( ) : bool
return bool
示例#1
0
 public override bool MoveToNextArrayValue(ObjectReader reader)
 {
     // Check for the end of the array
     if (reader.ReadToNextArrayValue())
     {
         reader.SetState(StartArrayValueState.State);
         return true;
     }
     else
     {
         reader.SetState(EndArrayState.State);
         return false;
     }
 }