예제 #1
0
 public override Assembly LoadAssembly(AssemblyName assemblyName)
 {
     try
     {
         return(_defaultContext.Load(assemblyName));
     }
     catch (FileNotFoundException)
     {
         return(_projectAssemblyLoader.Load(assemblyName, this) ??
                _packageAssemblyLoader.Load(assemblyName, this));
     }
 }
예제 #2
0
 public Assembly LoadWithoutDefault(AssemblyName assemblyName)
 {
     return(_projectAssemblyLoader.Load(assemblyName, this) ??
            _packageAssemblyLoader.Load(assemblyName, this));
 }