示例#1
0
 public FillerParams(string modelName, string propertyName, Dictionary<string, string> overrideSettings, bool? isEnabled = null, bool? isReadOnly = null, IEnumerable<object> list = null, string valueMember = null, string displayMember = null, string[] disabled = null, string[] param = null, string templateKeyName = "", bool skipValidationFill = false, bool skipSecurityFill = false, bool skipBehaviourFill = false, bool isBindingControl = true, bool alignLeft = false, string externalizationKey = "", ListBoxType listType = ListBoxType.None, IDictionary<string, object> inputParam = null, IDictionary<string, object> attributes = null, string configKey = "", DateTime? minDate = null, DateTime? maxDate = null, List<Security> userTaskCodes = null)
 {
     this.ModelName = modelName;
     this.PropertyName = GetFormattedPropertyName(propertyName);
     this.ControlName = propertyName;
     this.OverrideSettings = overrideSettings;
     this.IsEnabled = isEnabled;
     this.IsReadOnly = isReadOnly;
     this.ValueMember = valueMember;
     this.DisplayMember = displayMember;
     this.Disabled = disabled;
     this.List = list;
     this.Param = param;
     this.TemplateNameKey = templateKeyName;
     this.SkipBehaviourFill = skipBehaviourFill;
     this.SkipSecurityFill = skipSecurityFill;
     this.SkipValidationFill = skipValidationFill;
     this.IsBindingControl = isBindingControl;
     this.AlignLeft = alignLeft;
     this.ExternalizationKey = externalizationKey;
     this.ListType = listType;
     this.InputParam = inputParam;
     this.Attributes = attributes;
     this.ConfigKey = configKey;
     this.minDate = minDate;
     this.maxDate = maxDate;
     this.UserTaskCodes = userTaskCodes;
 }
示例#2
0
 public FillerParams(string modelName, string propertyName, Dictionary <string, string> overrideSettings, bool?isEnabled = null, bool?isReadOnly = null, IEnumerable <object> list = null, string valueMember = null, string displayMember = null, string[] disabled = null, string[] param = null, string templateKeyName = "", bool skipValidationFill = false, bool skipSecurityFill = false, bool skipBehaviourFill = false, bool isBindingControl = true, bool alignLeft = false, string externalizationKey = "", ListBoxType listType = ListBoxType.None, IDictionary <string, object> inputParam = null, IDictionary <string, object> attributes = null, string configKey = "", DateTime?minDate = null, DateTime?maxDate = null, List <Security> userTaskCodes = null)
 {
     this.ModelName          = modelName;
     this.PropertyName       = GetFormattedPropertyName(propertyName);
     this.ControlName        = propertyName;
     this.OverrideSettings   = overrideSettings;
     this.IsEnabled          = isEnabled;
     this.IsReadOnly         = isReadOnly;
     this.ValueMember        = valueMember;
     this.DisplayMember      = displayMember;
     this.Disabled           = disabled;
     this.List               = list;
     this.Param              = param;
     this.TemplateNameKey    = templateKeyName;
     this.SkipBehaviourFill  = skipBehaviourFill;
     this.SkipSecurityFill   = skipSecurityFill;
     this.SkipValidationFill = skipValidationFill;
     this.IsBindingControl   = isBindingControl;
     this.AlignLeft          = alignLeft;
     this.ExternalizationKey = externalizationKey;
     this.ListType           = listType;
     this.InputParam         = inputParam;
     this.Attributes         = attributes;
     this.ConfigKey          = configKey;
     this.minDate            = minDate;
     this.maxDate            = maxDate;
     this.UserTaskCodes      = userTaskCodes;
 }