API Reference
Class
GroupSummaryService
Builds optional per-group nesting summaries from a shared group graph snapshot.
Inheritance
- Object
- GroupSummaryService
Methods
public static async Task<IReadOnlyList<GroupNestingSummary>> BuildGroupSummariesAsync(GroupQueryOptions options, Boolean includeNestingSummary = true, CancellationToken cancellationToken = null) #Returns:
Task<IReadOnlyList<GroupNestingSummary>>End-to-end summary builder: queries groups using GroupQueryOptions and returns summaries.
Parameters
- options ADPlayground.Groups.GroupQueryOptions
- includeNestingSummary System.Boolean = true
- cancellationToken System.Threading.CancellationToken = null
BuildNestingSummariesAsync 2 overloads
public static async Task<IReadOnlyList<GroupNestingSummary>> BuildNestingSummariesAsync(IEnumerable<GroupInfo> groups, Int32 maxParallel = 3, CancellationToken cancellationToken = null) #Returns:
Task<IReadOnlyList<GroupNestingSummary>>Computes nesting summaries for provided groups using a shared graph snapshot.
Parameters
- groups System.Collections.Generic.IEnumerable{ADPlayground.GroupInfo}
- maxParallel System.Int32 = 3
- cancellationToken System.Threading.CancellationToken = null
public static async Task<IReadOnlyList<GroupNestingSummary>> BuildNestingSummariesAsync(IEnumerable<GroupInfo> groups, GroupGraphSnapshotPersistenceOptions persistenceOptions, Int32 maxParallel = 3, CancellationToken cancellationToken = null) #Returns:
Task<IReadOnlyList<GroupNestingSummary>>Computes nesting summaries for provided groups using a shared graph snapshot with optional persisted snapshot reuse.
Parameters
- groups System.Collections.Generic.IEnumerable{ADPlayground.GroupInfo}
- Source groups.
- persistenceOptions ADPlayground.Groups.GroupGraphSnapshotPersistenceOptions
- Optional persisted snapshot options.
- maxParallel System.Int32 = 3
- Maximum parallel resolver operations.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Per-group nesting summaries.