Temporal activities no longer have a generalised extension method
for registering them with a service collecton. It is still static and has
the same rough shape as an extension method. This way it is less
visible and less likely to be called by accident.
Also in-line with changes in this branch, things have been renamed
Timers → Temporal
* Fix sample Elsa.Samples.FileBasedWorkflow
* Separate Quartz from Elsa.Activities.Timers
* Incremental work on Hangfire integration
* Incremental work on Hangfire integration
* Incremental work on Hangfire integration
* Incremental work on Hangfire integration
* Add CancelTimer
* ToCronExpression for Duration
* Removed SweepInterval
* Synchronize access to scheduler
* Refactoring RunHangfireWorkflowJob
* Optimize timer activities to always execute when target time stamp lies in past
* Refactoring TimersOptionsExtensions
* Added common.props and configureawait.props
* Rename CancelTimer to ClearTimer
* Wrong parameter name in comment
* Refactoring TimerConsts and RunQuartzWorkflowJob
Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
* Seperate YesSql and added InMemory, MongoDb
* Error fixed, if DatabaseInitializer is run through several times
* icon.png was not packed
* Added AddWorkflowProvider to AddElsaPersistenceMongoDb
* Wrong primary keys were used for MongoDb
* Refactorig MongoDb
* Register IMongoCollection<WorkflowDefinition> and IMongoCollection<WorkflowInstance> with DI
* Wrong Parameter Type in Constructor (MongoDbWorkflowInstanceRepository)
* Add workflowDefinition.WorkflowDefinitionId = _idGenerator.Generate(); to Initialize
* Removed duplicated code
* Correct wrong Commit
Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>