Interface INativeLibraryRegisterMapping
Registration for native library mappings, for .NET5 and above.
Namespace: Evergine.Platform
Assembly: Evergine.Platform.dll
Syntax
public interface INativeLibraryRegisterMapping
Methods
TryGetLibraryNameFor(string, PlatformType, out string)
Determines if a platform has a explicit library name for a given platform.
Declaration
bool TryGetLibraryNameFor(string libraryName, PlatformType platform, out string platformLibraryName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | libraryName | Library name. |
| PlatformType | platform | Target platform. |
| string | platformLibraryName | Platform specific library name. |
Returns
| Type | Description |
|---|---|
| bool | True if there is an explicit mapping; false otherwise. |