Esempio n. 1
0
 public JProperty(string name, object content)
 {
     this._content = new JPropertyList();
     ValidationUtils.ArgumentNotNull(name, "name");
     this._name = name;
     this.Value = base.IsMultiContent(content) ? new JArray(content) : JContainer.CreateFromContent(content);
 }
Esempio n. 2
0
 internal JProperty(string name)
 {
     this._content = new JPropertyList();
     ValidationUtils.ArgumentNotNull(name, "name");
     this._name = name;
 }
Esempio n. 3
0
 public JProperty(JProperty other) : base(other)
 {
     this._content = new JPropertyList();
     this._name    = other.Name;
 }