예제 #1
0
 public ServiceExecutionEnv(ILoggerFactory loggerFactory, ICobServiceSelector selector, IOptions <CobMvcRequestOptions> requestOptions)/*CobServiceDescription desc, */
 {
     _loggerFactory  = loggerFactory;
     _logger         = loggerFactory.CreateLogger <ServiceExecutionEnv>();
     _selector       = selector;
     _requestOptions = requestOptions.Value;
 }
예제 #2
0
 public CobServiceDescriptionGenerator(IOptions <CobMvcRequestOptions> requestOptions, IConfiguration configuration)
 {
     _requestOptions = requestOptions.Value;
     _configuration  = configuration;
 }