Rename orient parameter to orientation in HtmlElement.InsertAdjacentElement
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.InsertAdjacentElementOrientParameterRenameArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetThe 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.InsertAdjacentElementOrientParameterRenameIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet