Пример #1
0
 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 ();
 }
Пример #2
0
 private Content()
 {
     this._id = Guid.Empty;
     this._type = Enums.FieldType.String;
     this._data = Field.DefaultValue (Enums.FieldType.String);
 }
Пример #3
0
 public Content(Field Field, object Data)
 {
     this._id = Field.Id;
     this._type = Field.Type;
     this.Data = Data;
 }
Пример #4
0
 public Content(Field field)
 {
     this._id = field.Id;
     this._type = field.Type;
     this.Data = Field.DefaultValue (field.Type);
 }