Method FindAuraByPath
FindAuraByPath(string)
Finds an aura by its path. Returns null if not found.
Declaration
IAuraAccessor FindAuraByPath(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, or null if not found. |
Examples
var aura = AuraTree.FindAuraByPath("MyFolder/Aura1");
if (aura != null)
{
Log.Info("Aura found!");
}
else
{
Log.Info("Aura not found.");
}