示例#1
0
 public ModuleParameter(ParameterAttribute param, Type t)
 {
     this.Name            = param.Name;
     this.Value           = param.DefaultValue;
     this.Description     = param.Description;
     this.OnField         = param.AttachedToField;
     this.VariableName    = param.VariableName;
     this.SystemParameter = !(param is RunParameterAttribute);
     this.QuickParameter  = false;
     this.Type            = t;
 }
示例#2
0
 public ModuleParameter(ParameterAttribute param, Type t)
 {
     this.Name = param.Name;
     this.Value = param.DefaultValue;
     this.Description = param.Description;
     this.OnField = param.AttachedToField;
     this.VariableName = param.VariableName;
     this.SystemParameter = !( param is RunParameterAttribute );
     this.QuickParameter = false;
     this.Type = t;
 }
示例#3
0
 public ModuleParameter(ParameterAttribute parameter, Type t)
 {
     Name            = NameOnModule = parameter.Name;
     Value           = parameter.DefaultValue;
     Description     = parameter.Description;
     OnField         = parameter.AttachedToField;
     VariableName    = parameter.VariableName;
     SystemParameter = !(parameter is RunParameterAttribute);
     QuickParameter  = false;
     IsHidden        = false;
     Type            = t;
     Index           = parameter.Index;
 }
示例#4
0
 public void Add(ParameterAttribute param, Type t)
 {
     this.Parameters.Add(new ModuleParameter(param, t));
 }