Exemple #1
0
 public ServiceLoaderServerModule(IConfigurationRoot jimuAppSettings) : base(jimuAppSettings)
 {
     _options = jimuAppSettings.GetSection(typeof(ServiceOptions).Name).Get <ServiceOptions>();
 }
Exemple #2
0
 /// <summary>
 /// dll loader
 /// </summary>
 /// <param name="serviceEntryContainer"></param>
 /// <param name="logger"></param>
 /// <param name="path">where are the dll directory</param>
 /// <param name="watchingFilePattern">what type of file will be watch when enableWatchChanged is true</param>
 /// <param name="enableWatchChanged">whether enable watch file changed</param>
 public ServicesLoader(IServiceEntryContainer serviceEntryContainer, ILogger logger, ServiceOptions options)
 {
     _logger = logger;
     _serviceEntryContainer = serviceEntryContainer;
     _options = options;
 }