Class E176_TreeDistinctBy

Assembly: redb.Examples.dll

Demonstrates DistinctBy on TreeQuery to get unique tree nodes by a Props field.
Useful for removing duplicates based on specific property values.
Pro feature: DistinctBy with tree context.

[ExampleMeta("E176", "TreeQuery - DistinctBy", "Tree", ExampleTier.Pro, 176, new string[] { "Tree", "DistinctBy", "Unique" }, RelatedApis = new string[] { "ITreeQueryable.DistinctBy" })]
public class E176_TreeDistinctBy : ExampleBase

Inheritance

ObjectExampleBaseE176_TreeDistinctBy

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)