public TimelineHost(IServiceProvider services, ITimelineDb db)
        {
            _db = db;

            _schedule = new ScheduleHost(db);
            _flows    = new FlowHost(services, db);
        }
Beispiel #2
0
        public TimelineScope(ILifetimeScope lifetime, ITimelineDb timelineDb, IFlowDb flowDb)
        {
            _lifetime   = lifetime;
            _timelineDb = timelineDb;
            _flowDb     = flowDb;

            _schedule = new TimelineSchedule(this);
            _flows    = new TimelineFlowSet(this);
            _requests = new TimelineRequestSet(this);
        }
Beispiel #3
0
 public QueryScope(FlowKey key, ITimelineDb db) : base(key, db)
 {
     _batchSize = ((QueryType)key.Type).BatchSize;
 }
Beispiel #4
0
 internal FlowHost(ITimelineDb db, IServiceProvider services)
 {
     _db       = db;
     _services = services;
 }
Beispiel #5
0
 protected FlowScope(FlowKey key, ITimelineDb db)
 {
     Key = key;
     Db  = db;
 }
Beispiel #6
0
 internal FlowHost(IServiceProvider services, ITimelineDb db)
 {
     _services = services;
     _db       = db;
 }
Beispiel #7
0
 public TopicScope(FlowKey key, ITimelineDb db, IServiceProvider services)
     : base(key, db)
 {
     _services = services;
 }
Beispiel #8
0
 public Timeline(ITimelineDb db, ITimelineScope scope)
 {
     _db    = db;
     _scope = scope;
 }
Beispiel #9
0
 internal ScheduleHost(ITimelineDb db)
 {
     _db = db;
 }