Class E091_TreeCount

Assembly: redb.Examples.dll

Count tree nodes with TreeQuery.
Requires E089 to run first (creates tree data).
CountAsync on TreeQuery - counts all nodes in tree.

[ExampleMeta("E091", "Tree Count - CountAsync", "Trees", ExampleTier.Free, 1, new string[] { "Tree", "TreeQuery", "CountAsync", "Pro" }, Order = 91)]
public class E091_TreeCount : ExampleBase

Inheritance

ObjectExampleBaseE091_TreeCount

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)