Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JConstructor"/> class from another <see cref="JConstructor"/> object.
 /// </summary>
 /// <param name="other">A <see cref="JConstructor"/> object to copy from.</param>
 public JConstructor(JConstructor other)
     : base(other)
 {
     _name = other.Name;
 }
Esempio n. 2
0
        internal override bool DeepEquals(JToken node)
        {
            JConstructor c = node as JConstructor;

            return(c != null && _name == c.Name && ContentsEqual(c));
        }