A class that manages the caching and retrieval of Windows Metadata (.winmd) files and provides methods to obtain metadata scopes for WDK, Win32, and WinRT.
Use this class to obtain a reference of a scope without creating unnecessary copies or cycles.
Constructors
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
-
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
Static Properties
- cacheInfo → String
-
Prints information about the scopeCache for debugging purposes.
no setter
-
scopeCache
→ Map<
String, Scope> -
final
Static Methods
-
close(
) → void - Disposes of all objects and clears the scopeCache.
-
getMetadataForType(
String typeName) → TypeDef? -
Returns the metadata for a specific Windows
typeName
. -
getScopeForType(
String typeName) → Scope -
Returns the scope for a specific Windows
typeName
. -
initialize(
) → void - Initializes the MetadataStore object.
-
loadMetadataFromFile(
File file) → Scope -
Loads Windows Metadata from a specified
file
. -
loadWdkMetadata(
{String? version}) → Future< Scope> - Loads WDK metadata.
-
loadWin32Metadata(
{String? version}) → Future< Scope> - Loads Win32 metadata.
-
loadWinRTMetadata(
{String? version}) → Future< Scope> - Loads WinRT metadata