/// <summary> /// Adds a filter to the collection. /// </summary> /// <param name="filter">The filter type.</param> public void Filter(NotificationType filter) { var filters = filter.GetFlags().Cast <NotificationType>(); Filter(filters); }