예제 #1
0
        internal override bool DeepEquals(JToken node)
        {
            JProperty t = node as JProperty;

            return(t != null && _name == t.Name && ContentsEqual(t));
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JProperty"/> class from another <see cref="JProperty"/> object.
 /// </summary>
 /// <param name="other">A <see cref="JProperty"/> object to copy from.</param>
 public JProperty(JProperty other)
     : base(other)
 {
     _name = other.Name;
 }