Lezen in het Engels Bewerken

Share via


ResolveEventArgs Constructors

Definition

Initializes a new instance of the ResolveEventArgs class.

Overloads

ResolveEventArgs(String)

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

ResolveEventArgs(String, Assembly)

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

ResolveEventArgs(String)

Source:
ResolveEventArgs.cs
Source:
ResolveEventArgs.cs
Source:
ResolveEventArgs.cs

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

public ResolveEventArgs (string name);
public ResolveEventArgs (string? name);

Parameters

name
String

The name of an item to resolve.

Remarks

This constructor is typically called only by the common language runtime.

Applies to

.NET 9 en andere versies
Product Versies
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

ResolveEventArgs(String, Assembly)

Source:
ResolveEventArgs.cs
Source:
ResolveEventArgs.cs
Source:
ResolveEventArgs.cs

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

public ResolveEventArgs (string name, System.Reflection.Assembly? requestingAssembly);
public ResolveEventArgs (string name, System.Reflection.Assembly requestingAssembly);
public ResolveEventArgs (string? name, System.Reflection.Assembly? requestingAssembly);

Parameters

name
String

The name of an item to resolve.

requestingAssembly
Assembly

The assembly whose dependency is being resolved.

Applies to

.NET 9 en andere versies
Product Versies
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1