예제 #1
0
 public ScheduleTimers(
     IWorkflowDefinitionScheduler workflowDefinitionScheduler,
     IWorkflowInstanceScheduler workflowInstanceScheduler,
     IBookmarkSerializer bookmarkSerializer,
     ILogger <ScheduleTimers> logger)
 {
     _workflowDefinitionScheduler = workflowDefinitionScheduler;
     _workflowInstanceScheduler   = workflowInstanceScheduler;
     _bookmarkSerializer          = bookmarkSerializer;
     _logger = logger;
 }
예제 #2
0
 public BookmarkFinder(IBookmarkStore bookmarkStore, IBookmarkHasher hasher, IBookmarkSerializer serializer)
 {
     _bookmarkStore = bookmarkStore;
     _hasher        = hasher;
     _serializer    = serializer;
 }
예제 #3
0
 public UserTaskService(IBookmarkStore bookmarkStore, IBookmarkSerializer bookmarkSerializer)
 {
     _bookmarkStore      = bookmarkStore;
     _bookmarkSerializer = bookmarkSerializer;
 }
예제 #4
0
 public UserTaskService(IBookmarkStore bookmarkStore, IBookmarkSerializer bookmarkSerializer, IWorkflowLaunchpad workflowLaunchpad)
 {
     _bookmarkStore      = bookmarkStore;
     _bookmarkSerializer = bookmarkSerializer;
     _workflowLaunchpad  = workflowLaunchpad;
 }
예제 #5
0
 public ScheduleBookmarkConsumer(IBookmarkSerializer bookmarkSerializer, IWorkflowInstanceScheduler workflowInstanceScheduler, ILogger <ScheduleBookmarkConsumer> logger)
 {
     _bookmarkSerializer        = bookmarkSerializer;
     _workflowInstanceScheduler = workflowInstanceScheduler;
     _logger = logger;
 }
예제 #6
0
 public ScheduleTriggerConsumer(IBookmarkSerializer bookmarkSerializer, IWorkflowDefinitionScheduler workflowDefinitionScheduler, ILogger <ScheduleTriggerConsumer> logger)
 {
     _bookmarkSerializer          = bookmarkSerializer;
     _workflowDefinitionScheduler = workflowDefinitionScheduler;
     _logger = logger;
 }
예제 #7
0
 public static T Deserialize <T>(this IBookmarkSerializer serializer, string json) where T : IBookmark => (T)serializer.Deserialize(json, typeof(T));