/// <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("["); }
/// <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)); }