public Field(sCMS.Enums.FieldType Type, string Name) { this._id = Guid.NewGuid (); this._type = Type; this.Name = Name; this._sort = 0; this._options = new Hashtable (); }
private Content() { this._id = Guid.Empty; this._type = Enums.FieldType.String; this._data = Field.DefaultValue (Enums.FieldType.String); }
public Content(Field Field, object Data) { this._id = Field.Id; this._type = Field.Type; this.Data = Data; }
public Content(Field field) { this._id = field.Id; this._type = field.Type; this.Data = Field.DefaultValue (field.Type); }