WindowsMetadataLoader class final
Loads Windows Metadata (.winmd
) files into a MetadataIndex for
consumption.
This class simplifies working with Windows Metadata by abstracting over NuGet interactions, local caching, and metadata merging.
Supports loading Windows Metadata from all major sources:
- Win32 – Classic Windows APIs
- WDK – Windows Driver Kit APIs
- WinRT – Windows Runtime APIs
Constructors
- WindowsMetadataLoader.new({LocalStorageManager? localStorageManager})
- Creates a new instance of WindowsMetadataLoader with an optional LocalStorageManager.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
loadAllMetadata(
{WindowsMetadataVersions? versions}) → Future< MetadataIndex> - Loads WDK, Win32, and WinRT metadata into a MetadataIndex.
-
loadMultipleMetadata(
{required List< WindowsMetadataPackage> packages, WindowsMetadataVersions? versions}) → Future<MetadataIndex> - Loads multiple Windows Metadata packages into a MetadataIndex.
-
loadWdkMetadata(
{String? version}) → Future< MetadataIndex> - Loads the Windows Driver Kit (WDK) metadata into a MetadataIndex.
-
loadWin32Metadata(
{String? version}) → Future< MetadataIndex> - Loads the Win32 metadata into a MetadataIndex.
-
loadWinrtMetadata(
{String? version}) → Future< MetadataIndex> - Loads the Windows Runtime (WinRT) metadata into a MetadataIndex.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited