Пример #1
0
        public FundingLineTotalAggregator(IFundingLineRoundingSettings fundingLineRoundingSettings)
        {
            Guard.ArgumentNotNull(fundingLineRoundingSettings, nameof(fundingLineRoundingSettings));

            _fundingGenerator            = new FundingGenerator();
            _fundingLineRoundingSettings = fundingLineRoundingSettings;
        }
        public VisualBasicSourceFileGenerator(ILogger logger,
                                              IFundingLineRoundingSettings fundingLineRoundingSettings) : base(logger)
        {
            Guard.ArgumentNotNull(fundingLineRoundingSettings, nameof(fundingLineRoundingSettings));

            _fundingLineRoundingSettings = fundingLineRoundingSettings;

            _typeIdentifierGenerator = new VisualBasicTypeIdentifierGenerator();
        }
        public CalculationTypeGenerator(CompilerOptions compilerOptions,
                                        IFundingLineRoundingSettings fundingLineRoundingSettings)
        {
            Guard.ArgumentNotNull(compilerOptions, nameof(compilerOptions));
            Guard.ArgumentNotNull(fundingLineRoundingSettings, nameof(fundingLineRoundingSettings));

            _compilerOptions             = compilerOptions;
            _fundingLineRoundingSettings = fundingLineRoundingSettings;

            _typeIdentifierGenerator = new VisualBasicTypeIdentifierGenerator();
        }