Example #1
0
        public DistinteBrowser(ILog log, IDistinteDataService distinteDataService)
        {
            CheckConstructorParameters(log, distinteDataService);

            _log = log;
            _distinteDataService = distinteDataService;
        }
Example #2
0
 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));
     }
 }