Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 protected virtual NullValueNode RewriteNullValue(
     NullValueNode node,
     TContext context)
 {
     return(node);
 }
Exemplo n.º 3
0
 protected override void VisitNullValue(NullValueNode node)
 {
     _writer.Write("null");
 }
Exemplo n.º 4
0
 protected virtual void VisitNullValue(NullValueNode node)
 {
 }
 public static void WriteNullValue(
     this DocumentWriter writer,
     NullValueNode node)
 {
     writer.Write("null");
 }
Exemplo n.º 6
0
 protected virtual void VisitNullValue(
     NullValueNode node,
     TContext context)
 {
 }