예제 #1
0
파일: Harmony.cs 프로젝트: boformer/Harmony
 /// <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());
 }