/// <summary> /// Constructor to prepare last chain node without a next rule but with default /// <see cref="DCSegmentationStrategyBase"/> instance. /// </summary> /// <param name="context">An instance of <see cref="DCSegmentationContext"/> class.</param> /// <param name="defaultStrategy">Will be returned if no strategy specified.</param> public DCRecipientsAnalyzationRule(DCSegmentationContext context, DCSegmentationStrategyBase defaultStrategy) : base(context, defaultStrategy) { }
/// <summary> /// Constructor to prepare last chain node without a next rule but with default /// <see cref="DCSegmentationStrategyBase"/> instance. /// </summary> /// <param name="context">An instance of <see cref="DCSegmentationContext"/> class.</param> /// <param name="defaultStrategy">Will be returned if no strategy specified.</param> /// /// <exception cref="ArgumentNullOrEmptyException">Thrown when <paramref name="context"/> is null.</exception> public DCStrategyResolverRule(DCSegmentationContext context, DCSegmentationStrategyBase defaultStrategy) { context.CheckArgumentNull(nameof(context)); Context = context; DefaultStrategy = defaultStrategy; }
/// <summary> /// Constructor to prepare last chain node without a next rule but with default /// <see cref="DCSegmentationStrategyBase"/> instance. /// </summary> /// <param name="context">An instance of <see cref="DCSegmentationContext"/> class.</param> /// <param name="defaultStrategy">Will be returned if no strategy specified.</param> public DCEnabledStrategiesAnalyzationRule(DCSegmentationContext context, DCSegmentationStrategyBase defaultStrategy) : base(context, defaultStrategy) { }