Method FindAuraByPath
FindAuraByPath(string, string)
Finds an aura by its path relative to a root path.
Declaration
IAura FindAuraByPath(string rootPath, string path)
Parameters
Type | Name | Description |
---|---|---|
string | rootPath | The base directory path to start the search from. |
string | path | The relative path to the target aura. |
Returns
Type | Description |
---|---|
IAura | The found aura or null if not found. |
Examples
// Find aura in root folder
var aura = eyeServices.FindAuraByPath(".", "MyAura");
// Find aura in nested folder
var aura = eyeServices.FindAuraByPath("Triggers", "Combat/FlaskManager");