public DistinteBrowser(ILog log, IDistinteDataService distinteDataService) { CheckConstructorParameters(log, distinteDataService); _log = log; _distinteDataService = distinteDataService; }
static void CheckConstructorParameters(ILog log, IDistinteDataService distinteDataService) { if (log == null) { throw new ArgumentException(GenericConstants.ERRMSG_NULLARGUMENT + GenericConstants.CHR_SPACE + nameof(log)); } if (distinteDataService == null) { throw new ArgumentException(GenericConstants.ERRMSG_NULLARGUMENT + GenericConstants.CHR_SPACE + nameof(distinteDataService)); } }