/// <summary> /// Creates a new source-to-target filter adapter using a given source filter, and a given delegate collection /// target. /// </summary> /// <param name="target">the collection target to which a collection stream is written after the source filter /// has been applied</param> /// <param name="sourceFilter">the source filter to be applied to a given collection stream</param> /// <exception cref="ArgumentNullException">if given a null value</exception> public SourceToTargetFilterAdapter(IPivotCollectionTarget target, PivotCollectionSourceFilter sourceFilter) : base(target) { this.SourceFilter = sourceFilter; }
/// <summary> /// Creates a new source-to-target filter adapter with a given source filter, and a stub delegate collection /// target. /// </summary> /// <remarks> /// The stub should be replaced with a real collection target before using the new filter. /// </remarks> /// <param name="sourceFilter">the source filter to be applied to collections written to this filter</param> /// <exception cref="ArgumentNullException">if given a null value</exception> public SourceToTargetFilterAdapter(PivotCollectionSourceFilter sourceFilter) : this(NullCollectionTarget.Instance, sourceFilter) { // Do nothing. }