Esempio n. 1
0
 /// <summary>
 /// Fires when an assembly could not be resolved, providing the availability to extend the assembly resolver.
 /// </summary>
 /// <param name="e">The event arguments associated with this event.</param>
 /// <returns>The assembly that was resolved, or null if none could be found.</returns>
 protected virtual AssemblyDefinition OnAssemblyResolutionFailed(AssemblyResolutionEventArgs e)
 {
     if (AssemblyResolutionFailed != null)
     {
         return(AssemblyResolutionFailed(this, e));
     }
     return(null);
 }
Esempio n. 2
0
 /// <summary>
 /// Fires when an assembly could not be resolved, providing the availability to extend the assembly resolver.
 /// </summary>
 /// <param name="e">The event arguments associated with this event.</param>
 /// <returns>The assembly that was resolved, or null if none could be found.</returns>
 protected virtual AssemblyDefinition OnAssemblyResolutionFailed(AssemblyResolutionEventArgs e)
 {
     if (AssemblyResolutionFailed != null)
         return AssemblyResolutionFailed(this, e);
     return null;
 }