TestimoX

API Reference

Class

GroupSummaryService

Namespace ADPlayground.Groups
Assembly ADPlayground
Modifiers static

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 requiredposition: 0
includeNestingSummary System.Boolean = true optionalposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
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} requiredposition: 0
maxParallel System.Int32 = 3 optionalposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
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} requiredposition: 0
Source groups.
persistenceOptions ADPlayground.Groups.GroupGraphSnapshotPersistenceOptions requiredposition: 1
Optional persisted snapshot options.
maxParallel System.Int32 = 3 optionalposition: 2
Maximum parallel resolver operations.
cancellationToken System.Threading.CancellationToken = null optionalposition: 3
Cancellation token.

Returns

Per-group nesting summaries.