Ejemplo n.º 1
0
 public IEnumerable <IndexValue> VisitNull(IJsonNull value)
 {
     yield return(new IndexValue());
 }
Ejemplo n.º 2
0
 public override bool VisitNull(IJsonNull value)
 {
     return(true);
 }
Ejemplo n.º 3
0
 public override bool VisitNull(IJsonNull value)
 {
     return true;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Returns a indicating whether this instance is equal to the specified
 /// <see cref="NetServ.Net.Json.IJsonNull"/>.
 /// </summary>
 /// <param name="other">The value to compare.</param>
 /// <returns>True if the specified instance is equal to this instance, otherwise;
 /// false.</returns>
 public bool Equals(IJsonNull other)
 {
     // Should I make a null IJsonNull equal to this regardless?
     return(other != null);
 }
Ejemplo n.º 5
0
 public Matcher VisitNull(IJsonNull value)
 {
     return(new NullMatcher());
 }
Ejemplo n.º 6
0
 public virtual bool VisitNull(IJsonNull value)
 {
     return(false);
 }