Ejemplo n.º 1
0
 public JProperty(JProperty other)
 {
     Class6.yDnXvgqzyB5jw();
     this._content = new JProperty.JPropertyList();
     base(other);
     this._name = other.Name;
 }
Ejemplo n.º 2
0
 internal JProperty(string name)
 {
     Class6.yDnXvgqzyB5jw();
     this._content = new JProperty.JPropertyList();
     base();
     ValidationUtils.ArgumentNotNull(name, "name");
     this._name = name;
 }
Ejemplo n.º 3
0
 public IEnumerator <JToken> GetEnumerator()
 {
     JProperty.JPropertyList jPropertyLists = null;
     if (jPropertyLists._token != null)
     {
         yield return(jPropertyLists._token);
     }
 }
Ejemplo n.º 4
0
        public JProperty(string name, object content)
        {
            Class6.yDnXvgqzyB5jw();
            this._content = new JProperty.JPropertyList();
            base();
            JToken jArrays;

            ValidationUtils.ArgumentNotNull(name, "name");
            this._name = name;
            if (base.IsMultiContent(content))
            {
                jArrays = new JArray(content);
            }
            else
            {
                jArrays = JContainer.CreateFromContent(content);
            }
            this.Value = jArrays;
        }