private static void CurrentDomain_AssemblyLoad(object sender, AssemblyLoadEventArgs args) { KnownTypesProvider.RegisterAssembly(args.LoadedAssembly); }