Esempio n. 1
0
 public RelayServerModule(IConfiguration configuration, ICustomCodeAssemblyLoader customCodeAssemblyLoader, IControllerLoader controllerLoader, IInterceptorLoader interceptorLoader)
 {
     _configuration            = configuration ?? throw new ArgumentNullException(nameof(configuration));
     _customCodeAssemblyLoader = customCodeAssemblyLoader ?? throw new ArgumentNullException(nameof(customCodeAssemblyLoader));
     _controllerLoader         = controllerLoader ?? throw new ArgumentNullException(nameof(controllerLoader));
     _interceptorLoader        = interceptorLoader ?? throw new ArgumentNullException(nameof(interceptorLoader));
 }
 public InterceptorLoader(ILogger logger, IConfiguration configuration, ICustomCodeAssemblyLoader customCodeAssemblyLoader)
 {
     _logger                   = logger;
     _configuration            = configuration ?? throw new ArgumentNullException(nameof(configuration));
     _customCodeAssemblyLoader = customCodeAssemblyLoader ?? throw new ArgumentNullException(nameof(customCodeAssemblyLoader));
 }