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; }
public LogSourceProvider(ILogSourceProviderConfig config) { if (config == null) { throw new ArgumentNullException (nameof (config)); } config_ = config; }