Skip to content

Commit 3ed2c10

Browse files
committed
Bulk updating code reference format
1 parent c9e6d23 commit 3ed2c10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/change-feed-processor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ Each range is being read in parallel and its progress is maintained separately f
3838

3939
The point of entry is always the monitored container, from a `Container` instance you call `GetChangeFeedProcessorBuilder`:
4040

41-
[!code-csharp[Main](~/samples-cosmosdb-dotnet-change-feed-processor/src/Program.cs?name=DefineProcessor)]
41+
:::code language="csharp" source="~/samples-cosmosdb-dotnet-change-feed-processor/src/Program.cs" id="DefineProcessor":::
4242

4343
Where the first parameter is a distinct name that describes the goal of this processor and the second name is the delegate implementation that will handle changes.
4444

4545
An example of a delegate would be:
4646

47-
[!code-csharp[Main](~/samples-cosmosdb-dotnet-change-feed-processor/src/Program.cs?name=Delegate)]
47+
:::code language="csharp" source="~/samples-cosmosdb-dotnet-change-feed-processor/src/Program.cs" id="Delegate":::
4848

4949
Finally you define a name for this processor instance with `WithInstanceName` and which is the container to maintain the lease state with `WithLeaseContainer`.
5050

0 commit comments

Comments
 (0)