Register the containing member as the name for a RoutedCommand

Proprietary

A RoutedCommand or RoutedUICommand should be registered with the name of the member that holds it. Replaces a name that does not match with nameof(<member>).

OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.UseContainingMemberAsRoutedCommandName
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.UseContainingMemberAsRoutedCommandName

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.