Interface ISourceResolver
Definition
Namespace: StardewUI.Framework.Content
Assembly: StardewUI.dll
Provides a method to connect a parsed Document back to the mod that provided it.
Members
Methods
Name | Description |
---|---|
TryGetProvidingModId(Document, String) | Attempts to determine which mod is the originator of some markup document. |
Details
Methods
TryGetProvidingModId(Document, String)
Attempts to determine which mod is the originator of some markup document.
Parameters
document
Document
The markup document.
modId
string
Holds the StardewModdingAPI.IManifest.UniqueID
of the originating mod, if the method returns true
, otherwise null
.
Returns
true
if the document
source was successfully resolved, otherwise false
.