コード例 #1
0
 private static void HookModuleLoad()
 {
     AssemblyManager.AssemblyResolveEarly((sender, args) => {
         tML.DebugFormat("Assembly Resolve: {0} -> {1}", args.RequestingAssembly, args.Name);
         return(null);
     });
 }
コード例 #2
0
ファイル: Logging.cs プロジェクト: mcmichael444/tModLoader
 private static void HookModuleLoad()
 {
     AssemblyManager.InitAssemblyResolvers();             // must be initialized before we add the assembly resolve logger, so that the assembly resolve logger goes first
     AssemblyManager.AssemblyResolveEarly((sender, args) => {
         tML.DebugFormat("Assembly Resolve: {0} -> {1}", args.RequestingAssembly, args.Name);
         return(null);
     });
 }