示例#1
0
 public ESMType_13Rule(
     IValidationErrorHandler validationErrorHandler,
     IDerivedData_25Rule ddrule25,
     IFCSDataService fcsData)
     : base(validationErrorHandler, RuleNameConstants.ESMType_13)
 {
     _ddrule25 = ddrule25;
     _fcsData  = fcsData;
 }
示例#2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ESMType_13Rule" /> class.
        /// </summary>
        /// <param name="validationErrorHandler">The validation error handler.</param>
        /// <param name="ddrule25">derived data rule 25.</param>
        /// <param name="fcsData">The lars data.</param>
        /// <param name="commonOperations">The common operations provider.</param>
        public ESMType_13Rule(
            IValidationErrorHandler validationErrorHandler,
            IDerivedData_25Rule ddrule25,
            IFCSDataService fcsData,
            IProvideRuleCommonOperations commonOperations)
            : base(validationErrorHandler, RuleNameConstants.ESMType_13)
        {
            It.IsNull(validationErrorHandler)
            .AsGuard <ArgumentNullException>(nameof(validationErrorHandler));
            It.IsNull(ddrule25)
            .AsGuard <ArgumentNullException>(nameof(ddrule25));
            It.IsNull(fcsData)
            .AsGuard <ArgumentNullException>(nameof(fcsData));
            It.IsNull(commonOperations)
            .AsGuard <ArgumentNullException>(nameof(commonOperations));

            _ddrule25 = ddrule25;
            _fcsData  = fcsData;
            _check    = commonOperations;
        }