AssemblyDependencyResolver 클래스

정의

프로그램에서 지정된 어셈블리의 종속성에 따라 어셈블리 및 네이티브 라이브러리를 경로로 확인할 수 있습니다.

public ref class AssemblyDependencyResolver sealed
public sealed class AssemblyDependencyResolver
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public sealed class AssemblyDependencyResolver
type AssemblyDependencyResolver = class
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
type AssemblyDependencyResolver = class
Public NotInheritable Class AssemblyDependencyResolver
상속
AssemblyDependencyResolver
특성

설명

AssemblyDependencyResolver 클래스를 사용하면 애플리케이션 개발자가 사용자 지정 System.Runtime.Loader.AssemblyLoadContext 인스턴스와 함께 플러그 인 아키텍처를 보다 쉽게 개발하여 플러그 인을 격리하고 플러그 인이 종속성을 로드할 수 있도록 할 수 있습니다.

플러그 인을 사용하여 .NET Core 애플리케이션을 만드는 자습서에서는 플러그 인의 종속성을 확인하고 플러그 인의 종속성을 호스팅 애플리케이션에서 올바르게 격리하는 사용자 지정 AssemblyLoadContext AssemblyDependencyResolver 을 만드는 방법을 설명합니다.

생성자

AssemblyDependencyResolver(String)

구성 요소 어셈블리의 경로를 사용하여 AssemblyDependencyResolver 클래스의 새 인스턴스를 초기화합니다.

메서드

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ResolveAssemblyToPath(AssemblyName)

구성 요소의 종속성을 기반으로 지정된 어셈블리 이름을 사용하여 어셈블리의 경로를 확인합니다.

ResolveUnmanagedDllToPath(String)

구성 요소의 종속성에 따라 지정된 이름을 사용하여 네이티브 라이브러리의 경로를 확인합니다.

ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상