public ServiceLoaderServerModule(IConfigurationRoot jimuAppSettings) : base(jimuAppSettings) { _options = jimuAppSettings.GetSection(typeof(ServiceOptions).Name).Get <ServiceOptions>(); }
/// <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; }