File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/providers/WorkflowCore.Providers.Azure Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ dotnet add package WorkflowCore.Providers.Azure
22
22
## Usage
23
23
24
24
Use the ` IServiceCollection ` extension methods when building your service provider
25
- * .UseAzureSyncronization
26
- * .UseAzureServiceBus
25
+ * .UseAzureSynchronization
26
+ * .UseAzureServiceBusEventHub
27
27
28
28
``` C#
29
29
services .AddWorkflow (options =>
30
30
{
31
- options .UseAzureSyncronization (" azure storage connection string" );
32
- options .UseAzureServiceBus (" service bus connection string" , " topic name" , " subscription name" );
31
+ options .UseAzureSynchronization (" azure storage connection string" );
32
+ options .UseAzureServiceBusEventHub (" service bus connection string" , " topic name" , " subscription name" );
33
33
});
34
34
```
Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ namespace Microsoft.Extensions.DependencyInjection
6
6
{
7
7
public static class ServiceCollectionExtensions
8
8
{
9
- public static WorkflowOptions UseAzureSyncronization ( this WorkflowOptions options , string connectionString )
9
+ public static WorkflowOptions UseAzureSynchronization ( this WorkflowOptions options , string connectionString )
10
10
{
11
11
options . UseQueueProvider ( sp => new AzureStorageQueueProvider ( connectionString , sp . GetService < ILoggerFactory > ( ) ) ) ;
12
12
options . UseDistributedLockManager ( sp => new AzureLockManager ( connectionString , sp . GetService < ILoggerFactory > ( ) ) ) ;
13
13
return options ;
14
14
}
15
15
16
- public static WorkflowOptions UseAzureServiceBus (
16
+ public static WorkflowOptions UseAzureServiceBusEventHub (
17
17
this WorkflowOptions options ,
18
18
string connectionString ,
19
19
string topicName ,
You can’t perform that action at this time.
0 commit comments