Method GetAuraByPath
GetAuraByPath(string)
Gets an aura by its path. Throws an exception if not found.
Declaration
IAuraAccessor GetAuraByPath(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | The path of the aura, either absolute or relative. |
Returns
Type | Description |
---|---|
IAuraAccessor | The aura at the specified path. |
Examples
try
{
var aura = AuraTree.GetAuraByPath("MyFolder/Aura1");
Log.Info("Aura found!");
}
catch (NotFoundException)
{
Log.Info("Aura not found.");
}