public ParameterDefinition(string Name, string Header, ParameterStatus BindedStatus, ParameterStatus DefaultStatus, CalculateParameterValueHandler CalculateParameterValue, ParameterProperties properties) { this.Name = Name; if (Header == Name) { this.Header = String.Format("[p text='{0}']", Name); } else { this.Header = Header; } this.BindedStatus = BindedStatus; this.CalculateParameterValue = CalculateParameterValue; this.DefaultStatus = DefaultStatus; this.Properties = properties; }
public ParameterDefinition(string Name, ParameterProperties properties, ParameterStatus BindedStatus, CalculateParameterValueHandler CalculateParameterValue) : this(Name, Name, BindedStatus, ParameterStatus.Local | ParameterStatus.Fixed, CalculateParameterValue, properties) { }