当前位置: 首页>>代码示例>>C#>>正文


C# IEventRepository类代码示例

本文整理汇总了C#中IEventRepository的典型用法代码示例。如果您正苦于以下问题:C# IEventRepository类的具体用法?C# IEventRepository怎么用?C# IEventRepository使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IEventRepository类属于命名空间,在下文中一共展示了IEventRepository类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: RemoveProjectWorkItemHandler

 public RemoveProjectWorkItemHandler(IProjectRepository projectRepository, IEventRepository eventRepository, IStackRepository stackRepository, ITokenRepository tokenRepository, IWebHookRepository webHookRepository) {
     _projectRepository = projectRepository;
     _eventRepository = eventRepository;
     _stackRepository = stackRepository;
     _tokenRepository = tokenRepository;
     _webHookRepository = webHookRepository;
 }
开发者ID:Nangal,项目名称:Exceptionless,代码行数:7,代码来源:RemoveProjectWorkItemHandler.cs

示例2: ContactsEventSink

 public ContactsEventSink(
     IDistributionPolicyFactory distributionPolicyFactory, 
     IEventRepository eventRepository, 
     IMailer mailer, IUserPresentationProvider userPresentationProvider)
     : base(distributionPolicyFactory, eventRepository, mailer, userPresentationProvider)
 {
 }
开发者ID:LeagueOfDevelopers,项目名称:LodCore,代码行数:7,代码来源:ContactsEventSink.cs

示例3: ThrottleBotsPlugin

 public ThrottleBotsPlugin(ICacheClient cacheClient, IEventRepository eventRepository, IProjectRepository projectRepository, IMetricsClient metricsClient, IQueue<WorkItemData> workItemQueue) {
     _cacheClient = cacheClient;
     _metricsClient = metricsClient;
     _eventRepository = eventRepository;
     _projectRepository = projectRepository;
     _workItemQueue = workItemQueue;
 }
开发者ID:Winterleaf,项目名称:Exceptionless,代码行数:7,代码来源:0_ThrottleBotsPlugin.cs

示例4: DevicesController

        public DevicesController(
            IDeviceCommunicationService deviceCommunicationService,
            DeviceCommunicationExtJsWeb.GpsCommunicationService.IGpsCommunicationContract gpsCommunicationContract,
            
            IDeviceRepository deviceRepository,
            IPacketRepository packetRepository,
            IEventRepository eventRepository,
            ICurrentEventRepository currentEventRepository,
            IRequstAckCommandRepository requstAckCommandRepository,
            ICacheDataRepository cacheDataRepository,
            
            IDeviceStateDocuments deviceStateDocuments,
            
            IDailyMileageRepository dailyMileageRepository,
            IGeoPointRepository geoPointRepository,
            ILogDocuments logDocuments)
        {
            DeviceCommunicationService = deviceCommunicationService;

            DeviceRepository = deviceRepository;
            PacketRepository = packetRepository;
            EventRepository = eventRepository;
            CurrentEventRepository = currentEventRepository;
            RequstAckCommandRepository = requstAckCommandRepository;
            CacheDataRepository = cacheDataRepository;

            DeviceStateDocuments = deviceStateDocuments;

            GpsCommunicationContract = gpsCommunicationContract;

            DailyMileageRepository = dailyMileageRepository;
            GeoPointRepository = geoPointRepository;

            LogDocuments = logDocuments;
        }
开发者ID:chavp,项目名称:Device-Communication-Tools,代码行数:35,代码来源:DevicesController.cs

示例5: SetLocationFromGeoWorkItemHandler

 public SetLocationFromGeoWorkItemHandler(ICacheClient cacheClient, IEventRepository eventRepository, IGeocodeService geocodeService, IMetricsClient metricsClient, IMessageBus messageBus, ILoggerFactory loggerFactory = null) : base(loggerFactory) {
     _cacheClient = new ScopedCacheClient(cacheClient, "geo");
     _eventRepository = eventRepository;
     _geocodeService = geocodeService;
     _metricsClient = metricsClient;
     _lockProvider = new CacheLockProvider(cacheClient, messageBus);
 }
开发者ID:yonglehou,项目名称:Exceptionless,代码行数:7,代码来源:SetLocationFromGeoWorkItemHandler.cs

示例6: EventLogic

 public EventLogic(IEventRepository eventRepository, IClientRepository clientRepository, IClientLogic clientLogic, ILog log)
 {
     _eventRepository = eventRepository;
     _clientRepository = clientRepository;
     _clientLogic = clientLogic;
     _log = log;
 }
开发者ID:SabotageAndi,项目名称:jarvis,代码行数:7,代码来源:EventLogic.cs

示例7: AutoSessionPlugin

 public AutoSessionPlugin(ICacheClient cacheClient, IEventRepository eventRepository, AssignToStackAction assignToStack, UpdateStatsAction updateStats, LocationPlugin locationPlugin) {
     _cacheClient = new ScopedCacheClient(cacheClient, "session");
     _eventRepository = eventRepository;
     _assignToStack = assignToStack;
     _updateStats = updateStats;
     _locationPlugin = locationPlugin;
 }
开发者ID:jackswei,项目名称:Exceptionless,代码行数:7,代码来源:80_AutoSessionPlugin.cs

示例8: DrillCreationViewModel

        public DrillCreationViewModel(IDrillsRepository drillsRepository, IEventRepository eventRepository, ISessonStateService sessonStateService, INavigationService navigationService)
        {
            _drillsRepository = drillsRepository;
            _eventRepository = eventRepository;
            _sessonStateService = sessonStateService;
            _navigationService = navigationService;

            PageTitle = "New Practice Drill";

            Sports = _eventRepository.Sports();

            var defaultDuration = new DrillDuration {Minutes = 15, Name = "15 Minutes"};
            Durations = new List<DrillDuration>
                            {
                                new DrillDuration{Minutes = 5, Name = "5 Minutes"},
                                new DrillDuration{Minutes = 10, Name = "10 Minutes"},
                                defaultDuration,
                                new DrillDuration{Minutes = 20, Name = "20 Minutes"},
                                new DrillDuration{Minutes = 25, Name = "25 Minutes"},
                                new DrillDuration{Minutes = 30, Name = "30 Minutes"},
                                new DrillDuration{Minutes = 45, Name = "45 Minutes"},
                                new DrillDuration{Minutes = 60, Name = "60 Minutes"},
                            };

            SelectedDuration = defaultDuration;
        }
开发者ID:derikwhittaker,项目名称:CoachAssistant,代码行数:26,代码来源:DrillCreationViewModel.cs

示例9: GameProcessor

 public GameProcessor(IImporterRepository importerRepository, IEventRepository eventRepository, IGamePlayFactory gamePlayFactory, IGameEventsFactory gameEventsFactory)
 {
     _importerRepository = importerRepository;
     _eventRepository = eventRepository;
     _gamePlayFactory = gamePlayFactory;
     _gameEventsFactory = gameEventsFactory;
 }
开发者ID:KristofferV,项目名称:shlscrapr,代码行数:7,代码来源:GameProcessor.cs

示例10: SessionPlugin

 public SessionPlugin(ICacheClient cacheClient, IEventRepository eventRepository, AssignToStackAction assignToStack, UpdateStatsAction updateStats, LocationPlugin locationPlugin, ILoggerFactory loggerFactory = null) : base(loggerFactory) {
     _cacheClient = new ScopedCacheClient(cacheClient, "session");
     _eventRepository = eventRepository;
     _assignToStack = assignToStack;
     _updateStats = updateStats;
     _locationPlugin = locationPlugin;
 }
开发者ID:yonglehou,项目名称:Exceptionless,代码行数:7,代码来源:70_SessionPlugin.cs

示例11: HomeController

 public HomeController(IRepository<Post> repo, IRepository<Category> category, IEventRepository Event, IRepository<PopularCourse> popularCourses)
 {
     _eventRepo = Event;
     _postRepo = repo;
     _categoryRepo = category;
     _popularCoursesRepo = popularCourses;
 }
开发者ID:gustavarrhenius,项目名称:Varldsklass,代码行数:7,代码来源:HomeController.cs

示例12: GetLastQueueEvent

        public static Event GetLastQueueEvent(IEventRepository eventRepository, Monitors monitor, Pmta pmta, string queue)
        {
            var events = eventRepository.GetAll().Where(e => e.Monitor == monitor && !e.ResetEventId.HasValue && e.EventName != EventNames.ResetTime 
                                                             && e.EventActions.Any(ed => ed.PmtaId == pmta.PmtaId && ed.PmtaQueue.ToLower() == queue.ToLower()));

            return events.Any() ? events.OrderByDescending(e=>e.DateCreated).First() : null;
        }
开发者ID:c0d3m0nky,项目名称:mty,代码行数:7,代码来源:Event.cs

示例13: ListingViewModel

        public ListingViewModel( INavigationService navigationService, IEventRepository eventRepository)
        {
            _navigationService = navigationService;
            _eventRepository = eventRepository;

            PageTitle = "Teams Listing";
        }
开发者ID:derikwhittaker,项目名称:CoachAssistant,代码行数:7,代码来源:ListingViewModel.cs

示例14: PlayerCreationViewModel

        public PlayerCreationViewModel(INavigationService navigationService, IEventRepository eventRepository)
        {
            _navigationService = navigationService;
            _eventRepository = eventRepository;

            PageTitle = "Player Maintenance";
        }
开发者ID:derikwhittaker,项目名称:CoachAssistant,代码行数:7,代码来源:PlayerCreationViewModel.cs

示例15: GameEventLandingViewModel

 public GameEventLandingViewModel(IEventRepository eventRepository, IDrillsRepository drillsRepository,
     INavigationService navigationService, ITileService tileService)
 {
     _eventRepository = eventRepository;
     _drillsRepository = drillsRepository;
     _navigationService = navigationService;
     _tileService = tileService;
 }
开发者ID:derikwhittaker,项目名称:CoachAssistant,代码行数:8,代码来源:GameEventLandingViewModel.cs


注:本文中的IEventRepository类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。