/// <summary> /// For some tests we need to simulate the case where we don't have the required assemblies. /// </summary> /// <returns></returns> internal static TypeResolver TestTypeResolver() { var defaultResolver = TypeLoader.DefaultTypeResolver(); return(n => n.FullName.StartsWith("Gamlor.Db4oPad.Tests") ? Maybe <Type> .Empty : defaultResolver(n)); }
internal static TypeResolver DefaultResolver() { return(TypeLoader.DefaultTypeResolver()); }