Exemple #1
0
        /// <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));
        }
Exemple #2
0
 internal static TypeResolver DefaultResolver()
 {
     return(TypeLoader.DefaultTypeResolver());
 }