src/Bannerlord.LauncherEx/Helpers/UI/PrefabExtensionManager.cs
Method RegisterPatch
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void RegisterPatch(string movie, string? xpath, PrefabExtensionInsertAsSiblingPatch patch)
{
RegisterPatch(movie, xpath, node =>
{
var ownerDocument = node as XmlDocument ?? node.OwnerDocument;