MetadataStore class
Caches a reader for each file scope.
Use this 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
Static Methods
-
close(
) → void - Dispose of all objects.
-
getMetadataForType(
String typeName) → TypeDef? - Find a matching typedef, if one exists, for a Windows Runtime type.
-
getScopeForAsset(
String assetName) → Scope - Loads a scope for a file asset that is embedded in the package.
-
getScopeForFile(
File fileScope) → Scope - Takes a metadata file path and returns the matching scope.
-
getScopeForType(
String typeName) → Scope -
Takes a typename (e.g.
Windows.Globalization.Calendar
) and returns the metadata scope that contains the type. -
getWin32InteropScope(
) → Scope - Return the scope that contains the Win32 interop metadata.
-
getWin32Scope(
) → Scope - Return the scope that contains the Win32 metadata.
-
initialize(
) → void - Initialize the MetadataStore object.
-
winmdFileContainingType(
String typeName) → File -
Takes a typename (e.g.
Windows.Globalization.Calendar
) and returns the metadata file that contains the type.