Example #1
0
 private InputTypeAttribte(int order, string name, string description, string defaultValue, InputType type)
 {
     InputTypeData = new InputTypeValue
     {
         Name        = name,
         Description = description,
         Default     = defaultValue,
         Order       = order,
         Type        = type
     };
 }
Example #2
0
 private InputTypeAttribte(int order, string name, string description, string defaultValue, InputType type, bool show = true, bool readOnly = false)
 {
     InputTypeData = new InputTypeValue
     {
         Name        = name,
         Description = description,
         Default     = defaultValue,
         Order       = order,
         Type        = type,
         Show        = show,
         Readonly    = readOnly
     };
 }