mscorlib(4.0.0.0) API with additions
System.ResolveEventArgs Class Reference

Provides data for loader resolution events, such as the E:System.AppDomain.TypeResolve, E:System.AppDomain.ResourceResolve, E:System.AppDomain.ReflectionOnlyAssemblyResolve, and E:System.AppDomain.AssemblyResolve events. More...

Inheritance diagram for System.ResolveEventArgs:
[legend]
Collaboration diagram for System.ResolveEventArgs:
[legend]

Public Member Functions

 ResolveEventArgs (string name)
 Initializes a new instance of the T:System.ResolveEventArgs class, specifying the name of the item to resolve. More...
 
 ResolveEventArgs (string name, Assembly requestingAssembly)
 Initializes a new instance of the T:System.ResolveEventArgs class, specifying the name of the item to resolve and the assembly whose dependency is being resolved. More...
 
- Public Member Functions inherited from System.EventArgs
 EventArgs ()
 Initializes a new instance of the T:System.EventArgs class. More...
 

Public Attributes

string Name => _Name
 Gets the name of the item to resolve. More...
 
Assembly RequestingAssembly => _RequestingAssembly
 Gets the assembly whose dependency is being resolved. More...
 

Additional Inherited Members

- Static Public Attributes inherited from System.EventArgs
static readonly EventArgs Empty = new EventArgs()
 Provides a value to use with events that do not have event data. More...
 

Detailed Description

Provides data for loader resolution events, such as the E:System.AppDomain.TypeResolve, E:System.AppDomain.ResourceResolve, E:System.AppDomain.ReflectionOnlyAssemblyResolve, and E:System.AppDomain.AssemblyResolve events.

Definition at line 8 of file ResolveEventArgs.cs.

Constructor & Destructor Documentation

◆ ResolveEventArgs() [1/2]

System.ResolveEventArgs.ResolveEventArgs ( string  name)

Initializes a new instance of the T:System.ResolveEventArgs class, specifying the name of the item to resolve.

Parameters
nameThe name of an item to resolve.

Definition at line 24 of file ResolveEventArgs.cs.

◆ ResolveEventArgs() [2/2]

System.ResolveEventArgs.ResolveEventArgs ( string  name,
Assembly  requestingAssembly 
)

Initializes a new instance of the T:System.ResolveEventArgs class, specifying the name of the item to resolve and the assembly whose dependency is being resolved.

Parameters
nameThe name of an item to resolve.
requestingAssemblyThe assembly whose dependency is being resolved.

Definition at line 32 of file ResolveEventArgs.cs.

Member Data Documentation

◆ Name

string System.ResolveEventArgs.Name => _Name

Gets the name of the item to resolve.

Returns
The name of the item to resolve.

Definition at line 16 of file ResolveEventArgs.cs.

◆ RequestingAssembly

Assembly System.ResolveEventArgs.RequestingAssembly => _RequestingAssembly

Gets the assembly whose dependency is being resolved.

Returns
The assembly that requested the item specified by the P:System.ResolveEventArgs.Name property.

Definition at line 20 of file ResolveEventArgs.cs.


The documentation for this class was generated from the following file: