/// <summary>Searches an assembly for Harmony annotations and uses them to create patches</summary> /// <param name="assembly">The assembly</param> /// public void PatchAll(Assembly assembly) { AccessTools.GetTypesFromAssembly(assembly).Do(type => CreateClassProcessor(type).Patch()); }