Example #1
0
 public static IGlobalConfiguration UseIgnoredAssemblyVersionTypeResolver(
     [NotNull] this IGlobalConfiguration configuration)
 {
     if (configuration == null)
     {
         throw new ArgumentNullException(nameof(configuration));
     }
     return(configuration.UseTypeResolver(TypeHelper.IgnoredAssemblyVersionTypeResolver));
 }
Example #2
0
 public static IGlobalConfiguration UseDefaultTypeResolver(
     [NotNull] this IGlobalConfiguration configuration)
 {
     if (configuration == null)
     {
         throw new ArgumentNullException(nameof(configuration));
     }
     return(configuration.UseTypeResolver(null));
 }