Redigera

Dela via


NamespaceResolveEventArgs Class

Definition

Provides data for the ReflectionOnlyNamespaceResolve event.

public ref class NamespaceResolveEventArgs : EventArgs
[System.Runtime.InteropServices.ComVisible(false)]
public class NamespaceResolveEventArgs : EventArgs
[<System.Runtime.InteropServices.ComVisible(false)>]
type NamespaceResolveEventArgs = class
    inherit EventArgs
Public Class NamespaceResolveEventArgs
Inherits EventArgs
Inheritance
NamespaceResolveEventArgs
Attributes

Constructors

NamespaceResolveEventArgs(String, Assembly)

Initializes a new instance of the NamespaceResolveEventArgs class, specifying the namespace to resolve and the assembly whose dependency is being resolved.

Properties

NamespaceName

Gets the name of the namespace to resolve.

RequestingAssembly

Gets the name of the assembly whose dependency is being resolved.

ResolvedAssemblies

Gets a collection of assemblies; when the event handler for the ReflectionOnlyNamespaceResolve event is invoked, the collection is empty, and the event handler is responsible for adding the necessary assemblies.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to