public CrmFilterXml(CrmFilterTypeXml type, CrmConditionXml condition) { this.Type = type; this.Conditions = new List<CrmConditionXml>() { condition }; //this.Conditions.ToList().Add(condition); this.Filters = new List<CrmFilterXml>(); }
public void AddCondition(CrmConditionXml condition) { this.Conditions.Add(condition); }