Skip to content

Commit 40c8643

Browse files
committed
Naming
1 parent a3b93c3 commit 40c8643

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/providers/WorkflowCore.Providers.Azure/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ dotnet add package WorkflowCore.Providers.Azure
2222
## Usage
2323

2424
Use the `IServiceCollection` extension methods when building your service provider
25-
* .UseAzureSyncronization
26-
* .UseAzureServiceBus
25+
* .UseAzureSynchronization
26+
* .UseAzureServiceBusEventHub
2727

2828
```C#
2929
services.AddWorkflow(options =>
3030
{
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");
3333
});
3434
```

src/providers/WorkflowCore.Providers.Azure/ServiceCollectionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ namespace Microsoft.Extensions.DependencyInjection
66
{
77
public static class ServiceCollectionExtensions
88
{
9-
public static WorkflowOptions UseAzureSyncronization(this WorkflowOptions options, string connectionString)
9+
public static WorkflowOptions UseAzureSynchronization(this WorkflowOptions options, string connectionString)
1010
{
1111
options.UseQueueProvider(sp => new AzureStorageQueueProvider(connectionString, sp.GetService<ILoggerFactory>()));
1212
options.UseDistributedLockManager(sp => new AzureLockManager(connectionString, sp.GetService<ILoggerFactory>()));
1313
return options;
1414
}
1515

16-
public static WorkflowOptions UseAzureServiceBus(
16+
public static WorkflowOptions UseAzureServiceBusEventHub(
1717
this WorkflowOptions options,
1818
string connectionString,
1919
string topicName,

0 commit comments

Comments
 (0)