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