![]() |
Able
Askowl Base Library Enabler
|
Classes | |
| class | Node |
Public Member Functions | |
| Trees | Root () |
| Set here to root More... | |
| Trees | To (string path) |
| Walk the path, failing if a branch or leaf is unavailable More... | |
| Trees | Next (string path) |
See To More... | |
| Trees | Add (string path) |
| Walk the path creating new segments as needed More... | |
| void | Dispose () |
| Dispose of the branch node here More... | |
| IDisposable | Anchor (string path="") |
| Mark here so wec an return to it More... | |
| override string | ToString () |
Public Attributes | |
| bool | Found => !Failed |
| //#TBD#// More... | |
| bool | IsRoot => here == root |
| Set if here is root More... | |
| string | Name => here?.Name |
| Name of node here More... | |
| long | Long => IsNumber ? integer : 0 |
| Long value of the leaf here More... | |
| double | Double => IsNumber ? floatingPoint : 0 |
| Double value of the leaf here More... | |
| bool | Boolean => Value.ToLower()[0] == 't' |
| Boolean value of the leaf here More... | |
| bool | IsNull => (Value == null) || (Value.ToLower() == "null") |
| The leaf here is a null reference More... | |
| object [] | Children => here.Branch.Keys |
| List of strings being the names of keys for branches under here More... | |
| object | FirstChild => here.Branch.First |
| First branch under here More... | |
| object | NextChild => here.Branch.Next |
| Second branch under here More... | |
Static Public Attributes | |
| static Trees | Instance => Cache<Trees>.Instance |
| Fetch a cached Trees instance More... | |
Properties | |
| bool | Failed [get] |
| Set if last search did not succeed More... | |
| object | Leaf [get, set] |
| More... | |
| string | Value [get, set] |
| Leaf value here (null if last walk failed) More... | |
| bool | IsNumber [get] |
| More... | |
| object | this[object key] [get, set] |
| Get or set the leaf value of a named branch under here More... | |
| string | Key [get] |
| The path to here as a string More... | |
| Trees Askowl.Trees.Add | ( | string | path | ) |
| IDisposable Askowl.Trees.Anchor | ( | string | path = "" | ) |
| void Askowl.Trees.Dispose | ( | ) |
| Trees Askowl.Trees.Root | ( | ) |
| Trees Askowl.Trees.To | ( | string | path | ) |
| override string Askowl.Trees.ToString | ( | ) |
| bool Askowl.Trees.Boolean => Value.ToLower()[0] == 't' |
| object [] Askowl.Trees.Children => here.Branch.Keys |
| double Askowl.Trees.Double => IsNumber ? floatingPoint : 0 |
| object Askowl.Trees.FirstChild => here.Branch.First |
| bool Askowl.Trees.IsNull => (Value == null) || (Value.ToLower() == "null") |
| bool Askowl.Trees.IsRoot => here == root |
| long Askowl.Trees.Long => IsNumber ? integer : 0 |
| string Askowl.Trees.Name => here?.Name |
| object Askowl.Trees.NextChild => here.Branch.Next |
|
get |
|
get |
|
getset |
|
getset |