← All recipes
Moderne licensed

Rename orient parameter to orientation in HtmlElement.InsertAdjacentElement

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.InsertAdjacentElementOrientParameterRenameArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

The orient parameter of HtmlElement.InsertAdjacentElement was renamed to orientation in .NET 10. This recipe updates named arguments in method calls to use the new parameter name.

Single recipenet10dotnetwinformsProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.InsertAdjacentElementOrientParameterRename

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet