public void Add(Contex contex, GlueLogicOperator glueLogicOperator = GlueLogicOperator.And, bool not = false) { if (Contexies.Count == 0) { glueLogicOperator = GlueLogicOperator.And; } Contexies.Add(CreateEntry(contex, glueLogicOperator, not)); }
private Entry CreateEntry(Contex contex, GlueLogicOperator glueLogicOperator, bool not) { return(new Entry { Contex = contex, Glue = glueLogicOperator, Not = not }); }