コード例 #1
0
        public LogSourceProvider(ILogSourceProviderConfig config, LogFileStatsCache statsCache)
        {
            Debug.Assert(config != null, "LogSourceProvider.ctor: config is null.");
            Debug.Assert(statsCache != null, "LogSourceProvider.ctor: statsCache is null.");

            config_     = config;
            statsCache_ = statsCache;
        }
コード例 #2
0
ファイル: LogSourceProvider.cs プロジェクト: MaxKot/Log4JDash
        public LogSourceProvider(ILogSourceProviderConfig config)
        {
            if (config == null)
            {
                throw new ArgumentNullException (nameof (config));
            }

            config_ = config;
        }