예제 #1
0
파일: Field.cs 프로젝트: dbrgn/pi-vote
 public Field(FieldType type, string fieldTypeName, string name, string comment, string condition, int minVersion)
 {
     Type = type;
       FieldTypeName = fieldTypeName;
       Name = name.Substring(0, 1).ToUpper() + name.Substring(1);
       Comment = comment;
       Condition = condition;
       MinVersion = minVersion;
 }
예제 #2
0
파일: ListType.cs 프로젝트: dbrgn/pi-vote
 public ListType(string name, FieldType listOf)
     : base(name)
 {
     ListOf = listOf;
 }