예제 #1
0
        public LastCalls(ILogger <LastCalls> logger,
                         IPageRequesterSettingsProvider settingsProvider)
        {
            Require.NotNull(logger, nameof(logger));
            Require.NotNull(settingsProvider, nameof(settingsProvider));

            this.logger           = logger;
            this.settingsProvider = settingsProvider;
        }
예제 #2
0
        public PageRequesterWrap(IPageRequesterSettingsProvider settingsProvider,
                                 ILogger <PageRequesterWrap> logger,
                                 ILastCalls lastCalls)
        {
            Require.NotNull(settingsProvider, nameof(settingsProvider));
            Require.NotNull(logger, nameof(logger));
            Require.NotNull(lastCalls, nameof(lastCalls));

            this.settingsProvider = settingsProvider;
            this.logger           = logger;
            this.lastCalls        = lastCalls;
        }