Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CRM 2015 Filtering Sample
public abstract class FilterItemCollection : IFilterItemCollection
protected FilterItemCollection(string filename)
protected Filter Filter { get; set; }
public bool IsValidEntity(string entityName)
var isValid = this.Filter
.Exists(p => p.Equals(entityName, StringComparison.InvariantCultureIgnoreCase));
return isValid;
protected abstract void OnInitialising(string filename);
private void Initialise(string filename)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment