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