/// <summary>
 /// Formats the specified meta info begin token.
 /// </summary>
 /// <param name="metaInfoBeginToken">The meta info begin token.</param>
 /// <returns>The token in serialized form.</returns>
 protected abstract T Format(MetaInfoBeginToken metaInfoBeginToken);
 private void MetaInfoBegin(MetaInfoBeginToken token)
 {
     parentStack.Peek().MetaMode = true;
 }
 /// <summary>
 /// Formats the specified meta info begin token.
 /// </summary>
 /// <param name="metaInfoBeginToken">The meta info begin token.</param>
 /// <returns>The token in serialized form.</returns>
 protected override string Format(MetaInfoBeginToken metaInfoBeginToken) {
   return CreateNodeStart(XmlStringConstants.METAINFO);
 }
 /// <summary>
 /// Formats the specified meta info begin token.
 /// </summary>
 /// <param name="metaInfoBeginToken">The meta info begin token.</param>
 /// <returns>The token in serialized form.</returns>
 protected override string Format(MetaInfoBeginToken metaInfoBeginToken)
 {
     return("[");
 }
Beispiel #5
0
 private void MetaInfoBegin(MetaInfoBeginToken token) {
   parentStack.Peek().MetaMode = true;
 }
Beispiel #6
0
 /// <summary>
 /// Formats the specified meta info begin token.
 /// </summary>
 /// <param name="metaInfoBeginToken">The meta info begin token.</param>
 /// <returns>The token in serialized form.</returns>
 protected override string Format(MetaInfoBeginToken metaInfoBeginToken)
 {
     return(CreateNodeStart(XmlStringConstants.METAINFO));
 }