Interface IIterativelyProcessesExpressionContexts
A service which iterates over expression contexts, beginning with a single context and executing a process over every one of its children. See also: IGetsIterativeExpressionContextProcessor for a factory which may be used to create instances of this type.
Namespace: ZptSharp.Rendering
Assembly: ZptSharp.Abstractions.dll
Syntax
public interface IIterativelyProcessesExpressionContexts
Methods
| Improve this Doc View SourceIterateContextAndChildrenAsync(ExpressionContext, CancellationToken)
Iterate over the specified context
, as well as all of its children.
Declaration
Task IterateContextAndChildrenAsync(ExpressionContext context, CancellationToken token = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
ExpressionContext | context | The context over which to iterate. |
System.Threading.CancellationToken | token | An optional cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task indicating when processing is complete. |