/// <summary> /// Determines whether the specified <see cref="NullValueNode"/> /// is equal to the current <see cref="NullValueNode"/>. /// </summary> /// <param name="other"> /// The <see cref="NullValueNode"/> to compare with the current /// <see cref="NullValueNode"/>. /// </param> /// <returns> /// <c>true</c> if the specified <see cref="NullValueNode"/> is equal /// to the current <see cref="NullValueNode"/>; /// otherwise, <c>false</c>. /// </returns> public bool Equals(NullValueNode other) { if (other is null) { return(false); } return(true); }
protected virtual NullValueNode RewriteNullValue( NullValueNode node, TContext context) { return(node); }
protected override void VisitNullValue(NullValueNode node) { _writer.Write("null"); }
protected virtual void VisitNullValue(NullValueNode node) { }
public static void WriteNullValue( this DocumentWriter writer, NullValueNode node) { writer.Write("null"); }
protected virtual void VisitNullValue( NullValueNode node, TContext context) { }