Example #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 ();
 }
Example #2
0
        public Global(sCMS.Enums.FieldType Type, string Name)
        {
            this._id = Guid.NewGuid ();
            this._createtimestamp = SNDK.Date.CurrentDateTimeToTimestamp ();
            this._updatetimestamp = SNDK.Date.CurrentDateTimeToTimestamp ();

            this._field = new Field (Type, Name);
            this._content = new Content (this._field);
        }