Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
 public void Add(ParameterAttribute param, Type t)
 {
     this.Parameters.Add(new ModuleParameter(param, t));
 }