/// <summary>
 /// Formats the specified null ref token.
 /// </summary>
 /// <param name="nullRefToken">The null ref token.</param>
 /// <returns>The token in serialized form.</returns>
 protected override string Format(NullReferenceToken nullRefToken) {
   return CreateNode(XmlStringConstants.NULL,
     new Dictionary<string, string>{
       {"name", nullRefToken.Name}});
 }
Example #2
0
 private void NullHandler(NullReferenceToken token) {
   SetValue(token.Name, null);
 }