/// <summary>
        /// Initializes a new instance of the <see cref="WhileMatchFilter"/> class.
        /// </summary>
        /// <param name="filter">The filter.</param>
        public WhileMatchFilter(Filter filter)
        {
            filter.ArgumentNotNull("filter");

            Filter = filter;
        }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SkipFilter"/> class.
        /// </summary>
        /// <param name="filter">The filter.</param>
        public SkipFilter(Filter filter)
        {
            filter.ArgumentNotNull("filter");

            Filter = filter;
        }
Пример #3
0
        /// <summary>
        /// Adds the filter.
        /// </summary>
        /// <param name="filter">The filter.</param>
        public void AddFilter(Filter filter)
        {
            filter.ArgumentNotNull("filter");

            _rowFilters.Add(filter);
        }