示例#1
0
        public MetaDataObject(string id, string displayName, object value = null, MetaDataObjectType fieldType = MetaDataObjectType.String, List <string> selectorValues = null)
        {
            this.ID          = id;
            this.DisplayName = displayName;
            this.FieldType   = fieldType;

            this.SelectorValues = selectorValues;

            this.Value = value;
        }
示例#2
0
 public MetaDataObjectBuilder(string id, string displayName, MetaDataObjectType type = MetaDataObjectType.String, List <string> selectValues = null)
 {
     template = new MetaDataObject(id, displayName, type, selectorValues: selectValues);
 }
示例#3
0
 public void SetFieldType(MetaDataObjectType type)
 {
     FieldType = type;
 }