public ConditionAttribute(Type converterType, ConditionBehaviors behaviors, ConditionOperator @operator, params string[] names)
 {
     this.ConverterType = converterType;
     this.Behaviors     = behaviors;
     this.Operator      = @operator;
     this.Names         = names;
 }
Exemple #2
0
 public ConditionConverterContext(IModel criteria, ConditionBehaviors behaviors, string path, string[] names, Type type, object value, ConditionOperator? @operator = null)
 {
     this.Criteria  = criteria ?? throw new ArgumentNullException(nameof(criteria));
     this.Names     = names ?? throw new ArgumentNullException(nameof(names));
     this.Type      = type ?? throw new ArgumentNullException(nameof(type));
     this.Path      = path;
     this.Value     = value;
     this.Operator  = @operator;
     this.Behaviors = behaviors;
 }
 public ConditionAttribute(ConditionBehaviors behaviors, ConditionOperator @operator, params string[] names)
 {
     this.Behaviors = behaviors;
     this.Operator  = @operator;
     this.Names     = names;
 }
 public ConditionAttribute(ConditionBehaviors behaviors, params string[] names)
 {
     this.Behaviors = behaviors;
     this.Names     = names;
 }