Beispiel #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);
 }
Beispiel #2
0
 internal JProperty(string name)
 {
     this._content = new JPropertyList();
     ValidationUtils.ArgumentNotNull(name, "name");
     this._name = name;
 }
Beispiel #3
0
 public JProperty(JProperty other) : base(other)
 {
     this._content = new JPropertyList();
     this._name    = other.Name;
 }