Exemple #1
0
        public QueryBuilderFilter(string id, string label, QueryBuilderDataType type, QueryBuilderInputType input, Dictionary <string, string> values, string plugin, pluginConfig conFigPlugin)
        {
            this.id    = id;
            this.label = label;
            this.type  = type.ToString();
            // this.operators = ops;

            this.input        = input.ToString();
            this.values       = values;
            this.plugin       = plugin;
            this.pluginConfig = conFigPlugin;
        }
Exemple #2
0
 	public QueryBuilderFilter(string id, string label, QueryBuilderDataType type, List<QueryBuilderFilterOperators> ops, QueryBuilderInputType input, Dictionary<string, string> values)
 	{
 		this.id = id;
 		this.label = label;
 		this.type = type.ToString();
 		this.operators = new List<string>();
 		foreach (QueryBuilderFilterOperators op in ops)
 		{
 			this.operators.Add(op.ToString());
 		}
 		this.input = input.ToString();
 		this.values = values;
 	}