Table of Contents

Class NativeBridgePathResolver

Namespace
JYPPX.Shared.Interop
Assembly
JYPPX.Shared.dll

Resolves candidate paths for the native bridge library. 解析原生 bridge 库的候选路径。

public static class NativeBridgePathResolver
Inheritance
NativeBridgePathResolver
Inherited Members

Methods

EnsureProcessSearchPath(Assembly)

Prepends preferred dependency directories to the current process search path. 把优先依赖目录插入到当前进程搜索路径前部。

public static void EnsureProcessSearchPath(Assembly assembly)

Parameters

assembly Assembly

The managed assembly requesting bridge resolution. 请求 bridge 解析的托管程序集。

EnumerateCandidatePaths(Assembly)

Enumerates candidate file paths for the native bridge library. 枚举原生 bridge 库的候选文件路径。

public static IEnumerable<string> EnumerateCandidatePaths(Assembly assembly)

Parameters

assembly Assembly

The managed assembly requesting bridge resolution. 请求 bridge 解析的托管程序集。

Returns

IEnumerable<string>

Candidate full paths for the native bridge file. 原生 bridge 文件的候选完整路径。

EnumerateDependencyDirectories(Assembly)

Enumerates directories that may contain bridge dependencies. 枚举可能包含 bridge 依赖项的目录。

public static IEnumerable<string> EnumerateDependencyDirectories(Assembly assembly)

Parameters

assembly Assembly

The managed assembly requesting bridge resolution. 请求 bridge 解析的托管程序集。

Returns

IEnumerable<string>

Candidate dependency directories. 候选依赖目录集合。

GetBridgeFileName()

Gets the expected native bridge file name for the current platform. 获取当前平台期望的原生 bridge 文件名。

public static string GetBridgeFileName()

Returns

string

The platform-specific bridge file name. 平台相关的 bridge 文件名。