Skip to content

Commit 0c33dbd

Browse files
Correct the syntax of accessing the UseOrleans call (#47892)
1 parent dc17c8a commit 0c33dbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/orleans/grains/transactions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Orleans transactions are opt-in. Both the silo and the client must be configured
2020

2121
```csharp
2222
var builder = Host.CreateDefaultBuilder(args)
23-
UseOrleans((context, siloBuilder) =>
23+
.UseOrleans((context, siloBuilder) =>
2424
{
2525
siloBuilder.UseTransactions();
2626
});
@@ -30,7 +30,7 @@ Likewise, to enable transactions on the client, call <xref:Orleans.Hosting.Clien
3030

3131
```csharp
3232
var builder = Host.CreateDefaultBuilder(args)
33-
UseOrleansClient((context, clientBuilder) =>
33+
.UseOrleansClient((context, clientBuilder) =>
3434
{
3535
clientBuilder.UseTransactions();
3636
});

0 commit comments

Comments
 (0)