public BasePusher(IOptionManager optionManager, ConnectionRepository connectionRepository, IRichAdapter adapter, IRichProvider provider) { OptionManager = optionManager; this.Adapter = adapter; this.Provider = provider; this.ConnectionRepository = connectionRepository; }
public BaseIndexer(IOptionManager optionManager, IRichAdapter adapter, IRichProvider provider, ConnectionRepository connectionRepository) { OptionManager = optionManager; Adapter = adapter; Provider = provider; ConnectionRepository = connectionRepository; }
public BaseEntityIndexer( IProcessor processor, IOptionManager optionManager, IRichAdapter adapter) : base(optionManager, adapter) { Processor = processor; }
static void Main(string[] args) { IOptionManager ow = OptionWorker.Current; ow.Initializes("my.option", true); Console.WriteLine(ow.Option[0].Value.Value); }
public BaseEntityPuller( IOptionManager optionManager, IProcessor processor, IRichAdapter adapter) : base(optionManager, adapter) { EntityProcessor = processor; }
public OgrenciYonetimModuluOgrenciListeleme(FeatureContext featureContext) { FeatureContext = featureContext; factory = featureContext.Get <SmsWebApplicationFactory <Startup> >("SmsWebApplicationcontext"); httpClient = factory.CreateClient(); optionManager = factory.OptionManager; }
public OgrenciYonetimModuluOgrenciEkleme(ScenarioContext scenarioContext, FeatureContext featureContext) { scenarioContext = scenarioContext; FeatureContext = featureContext; factory = featureContext.Get <SmsWebApplicationFactory <Startup> >("SmsWebApplicationcontext"); httpClient = factory.CreateClient(); optionManager = factory.OptionManager; }
public BaseAttributePuller( IOptionManager optionManager, IProcessor entityProcessor, IProcessor attributeProcessor, IRichAdapter adapter) : base(optionManager, adapter) { EntityProcessor = entityProcessor; AttributeProcessor = attributeProcessor; }
public BaseReporter(IOptionManager optionManager, ResolverFactory resolverFactory, MessageDeliveryChannelRepository messageDelieveryChannelRepository) { OptionManager = optionManager; this.resolverFactory = resolverFactory; this.messageDelieveryChannelRepository = messageDelieveryChannelRepository; Logger = resolverFactory.Resolve <ILogger>("SyncService"); }
public StudentController(ILogger <StudentController> logger, IStudentManager studentManager, IOptionManager optionManager, IMapper mapper) { _logger = logger; _mapper = mapper; _studentManager = studentManager; _optionManager = optionManager; }
public BaseMapper( IProcessor processor, IOptionManager optionManager, IRichAdapter adapter) { Processor = processor; OptionManager = optionManager; Provider = adapter.GetProvider(); Adapter = adapter; }
public BaseEntityPuller(IOptionManager optionManager, IProcessor processor, IRichProvider provider, IRichAdapter adapter, EntityRepository entityRepository, ConnectionRepository connectionRepository) : base(optionManager, provider, adapter, connectionRepository) { EntityProcessor = processor; EntityRepository = entityRepository; }
public TeacherController(ILogger <TeacherController> logger, ITeacherManager teacherManager, IOptionManager optionManager, IMapper mapper) { _logger = logger; _mapper = mapper; _teacherManager = teacherManager; _optionManager = optionManager; }
public SubscriptionController(UserManager <UserAccount> userManager, SubscriptionManager subscriptionManager, ApiResponseFactory responseFactory, ApiModelFactory modelFactory, IOptionManager optionManager) { this.userManager = userManager; this.subscriptionManager = subscriptionManager; this.responseFactory = responseFactory; this.modelFactory = modelFactory; this.optionManager = optionManager; }
public SubscriptionManager(DataContext dataContext, IOptionManager optionManager, IProviderManager providerManager, RegardScheduler scheduler, IVideoStorageService videoStorageService) { this.dataContext = dataContext; this.optionManager = optionManager; this.providerManager = providerManager; this.scheduler = scheduler; this.videoStorageService = videoStorageService; }
private IOptionManager GetOptionManager(string optionFile, bool monitor) { IOptionManager optionManager = optionManagerCollection[optionFile]; lock (lockObject) { if (optionManager == null) { optionManager = CreateOptionManager(optionFile, monitor); optionManagerCollection.Add(optionFile, optionManager); } } return(optionManager); }
public DownloadVideoJob(ILogger <DownloadVideoJob> logger, DataContext dataContext, IConfiguration configuration, IOptionManager optionManager, IYoutubeDlService ytdlService, IVideoDownloaderService videoDownloader, IVideoStorageService videoStorage) : base(logger, dataContext) { this.configuration = configuration; this.optionManager = optionManager; this.ytdlService = ytdlService; this.videoDownloader = videoDownloader; this.videoStorage = videoStorage; }
public SynchronizeJob(ILogger <SynchronizeJob> log, DataContext dataContext, JobTrackerService jobTrackerService, IOptionManager optionManager, IProviderManager providerManager, IVideoStorageService videoStorageService, IVideoDownloaderService videoDownloader, RegardScheduler scheduler) : base(log, dataContext, jobTrackerService) { this.optionManager = optionManager; this.providerManager = providerManager; this.videoStorageService = videoStorageService; this.videoDownloader = videoDownloader; this.scheduler = scheduler; }
public BaseAttributeIndexer( IProcessor entityProcessor, IProcessor attributeProcessor, IOptionManager optionManager, IRichProvider provider, IRichAdapter adapter, EntityRepository entityRepository, AttributeRepository attributeRepository, ConnectionRepository connectionRepository) : base(optionManager, adapter, provider, connectionRepository) { AttributeProcessor = attributeProcessor; EntityProcessor = entityProcessor; EntityRepository = entityRepository; AttributeRepository = attributeRepository; }
public BaseMapper( IProcessor processor, IOptionManager optionManager, IRichProvider provider, IRichAdapter adapter, EntityRepository entityRepository, ConnectionRepository connectionRepository) { Processor = processor; OptionManager = optionManager; Provider = provider; Adapter = adapter; EntityRepository = entityRepository; ConnectionRepository = connectionRepository; }
public BaseAttributePusher( IOptionManager optionManager, IProcessor entityProcessor, IProcessor attributeProcessor, IRichProvider provider, IRichAdapter adapter, EntityRepository entityRepository, AttributeRepository attributeRepository, ConnectionRepository connectionRepository) : base(optionManager, connectionRepository, adapter, provider) { this.EntityProcessor = entityProcessor; this.AttributeProcessor = attributeProcessor; this.EntityRepository = entityRepository; this.AttributeRepository = attributeRepository; }
public SubscriptionManager(DataContext dataContext, IOptionManager optionManager, IProviderManager providerManager, MessagingService messaging, RegardScheduler scheduler, IVideoStorageService videoStorageService, ApiModelFactory apiModelFactory) { this.dataContext = dataContext; this.optionManager = optionManager; this.providerManager = providerManager; this.messaging = messaging; this.scheduler = scheduler; this.videoStorageService = videoStorageService; this.apiModelFactory = apiModelFactory; }
private IOptionManager CreateOptionManager(string optionFile, bool monitor) { OptionAttribute[] optionAttributes = OptionAttribute.GetOptionAttributeFromAssembly(null); IOptionManager createdObject = null; if (optionAttributes != null && optionAttributes.Length > 0) { OptionAttribute optionAttribute = optionAttributes[0]; for (int i = 1; i < optionAttributes.Length; i++) { if (optionAttributes[i].Priority > optionAttribute.Priority) { optionAttribute = optionAttributes[i]; } } Type type = optionAttribute.RealType; if (type == null) { try { type = UtilityType.CreateType(this.GetType().Assembly, optionAttribute.TypeName, true); } catch (Exception e) { throw new OptionException("类型载入错误:" + e.Message, e); } } try { createdObject = (IOptionManager)UtilityType.CreateObject(this.GetType().Assembly, type.FullName, typeof(IOptionManager), true); createdObject.Initializes(optionFile, monitor); } catch (Exception e) { throw new OptionException(e.Message, e); } } return(createdObject); }
/// <summary> /// 重新载入相关选项信息 /// </summary> public static void Reset() { Current.optionManagerCollection.Clear(); globalConfigManager = null; }
/// <summary> /// /// </summary> /// <param name="optionManager"></param> public OptionsController(IOptionManager optionManager) { this.optionManager = optionManager; }
/// <summary> /// �����������ѡ����Ϣ /// </summary> public static void Reset() { Current.optionManagerCollection.Clear(); globalConfigManager = null; }
public BaseMessageDeliverChannel(IOptionManager optionManager) { OptionManager = optionManager; }
public SetupController(UserManager <UserAccount> userManager, IOptionManager optionManager, ApiResponseFactory responseFactory) { this.userManager = userManager; this.optionManager = optionManager; this.responseFactory = responseFactory; }
protected BaseProvider(IOptionManager optionManager) { OptionManager = optionManager; }
public BaseSettingProvider(IOptionManager optionManager) { OptionManager = optionManager; }
public BaseIndexExporter(IOptionManager optionManager) { OptionManager = optionManager; }