diff --git a/articles/azure-functions/functions-bindings-event-grid-trigger.md b/articles/azure-functions/functions-bindings-event-grid-trigger.md index db8f83e264cf..2bc39e55bc0e 100644 --- a/articles/azure-functions/functions-bindings-event-grid-trigger.md +++ b/articles/azure-functions/functions-bindings-event-grid-trigger.md @@ -44,11 +44,11 @@ The type of the input parameter used with an Event Grid trigger depends on these When running your C# function in an isolated worker process, you need to define a custom type for event properties. The following example defines a `MyEventType` class. -:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/EventGrid/EventGridFunction.cs" range="35-48"::: +:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/EventGrid/EventGridFunction.cs" range="32-45"::: The following example shows how the custom type is used in both the trigger and an Event Grid output binding: -:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/EventGrid/EventGridFunction.cs" range="11-33"::: +:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/EventGrid/EventGridFunction.cs" range="9-30"::: # [In-process model](#tab/in-process)