File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
steering_docs/dotnet-tech Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -658,12 +658,12 @@ namespace RedshiftActions
658658
659659``` csharp
660660// ✅ CORRECT - Service name first, then dotnetv4
661- // snippet-start:[Redshift .dotnetv4.CreateClusterSteering]
661+ // snippet-start:[{Service} .dotnetv4.CreateClusterSteering]
662662public async Task < Cluster > CreateClusterAsync (.. .)
663663{
664664 // Implementation
665665 }
666- // snippet-end:[Redshift .dotnetv4.CreateClusterSteering]
666+ // snippet-end:[{Service} .dotnetv4.CreateClusterSteering]
667667
668668// ❌ WRONG - Old format
669669// snippet-start:[dotnetv4.example_code.redshift.CreateClusterSteering]
Original file line number Diff line number Diff line change @@ -178,16 +178,16 @@ public class Hello{Service}
178178
179179``` csharp
180180// ✅ CORRECT
181- // snippet-start:[Redshift .dotnetv4.Hello ]
181+ // snippet-start:[{Service} .dotnetv4.HelloSteering ]
182182public static async Task Main (string [] args )
183183{
184184 // Implementation
185185 }
186- // snippet-end:[Redshift .dotnetv4.Hello]
186+ // snippet-end:[{Service} .dotnetv4.Hello]
187187
188188// ❌ WRONG - Old format
189- // snippet-start:[dotnetv4.example_code.redshift.Hello ]
190- // snippet-end:[dotnetv4.example_code.redshift.Hello ]
189+ // snippet-start:[dotnetv4.example_code.{Service}.HelloSteering ]
190+ // snippet-end:[dotnetv4.example_code.{Service}.HelloSteering ]
191191```
192192
193193** Format** : ` [{Service}.dotnetv4.Hello] `
Original file line number Diff line number Diff line change @@ -289,16 +289,16 @@ await foreach (var response in itemsPaginator.Responses)
289289
290290``` csharp
291291// ✅ CORRECT - Service name first, then dotnetv4
292- // snippet-start:[Redshift .dotnetv4.CreateClusterSteering]
292+ // snippet-start:[{Service} .dotnetv4.CreateClusterSteering]
293293public async Task < Cluster > CreateClusterAsync (.. .)
294294{
295295 // Implementation
296296 }
297- // snippet-end:[Redshift .dotnetv4.CreateClusterSteering]
297+ // snippet-end:[{Service} .dotnetv4.CreateClusterSteering]
298298
299299// ❌ WRONG - Old format
300- // snippet-start:[dotnetv4.example_code.redshift .CreateClusterSteering]
301- // snippet-end:[dotnetv4.example_code.redshift .CreateClusterSteering]
300+ // snippet-start:[dotnetv4.example_code.{Service} .CreateClusterSteering]
301+ // snippet-end:[dotnetv4.example_code.{Service} .CreateClusterSteering]
302302```
303303
304304** Format** : ` [{Service}.dotnetv4.{ActionName}] `
You can’t perform that action at this time.
0 commit comments