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

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

            Filter(memberships);
        }