예제 #1
0
파일: Field.cs 프로젝트: sundowndk/sCMS
 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
파일: Global.cs 프로젝트: sundowndk/sCMS
        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);
        }