Exemple #1
0
 public void StartObject()
 {
     if (state == WriterState.ExpectingStartRootObject)
     {
         writer.WriteStartElement("Root");
     }
     else if (state == WriterState.ExpectingArrayElement)
     {
         writer.WriteStartElement(ArrayElemStr);
     }
     stateStack.Push(state);
     state = WriterState.ExpectingProperty;
     pathBuilder.OnStartObject();
 }
 public void StartObject()
 {
     writer.WriteStartObject();
     pathBuilder.OnStartObject();
 }
Exemple #3
0
 public void StartObject()
 {
     consumer(TrwMemToken.StartObject());
     pathBuilder.OnStartObject();
 }