View on GitHub
Clean Architecture Toolkit for .NET
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications.
It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design.

|   HOME   |   MODULE OVERVIEW   |   DEMO   |   CAT.FLUENTWORKFLOWS   |

Code Reference

» Cat.FluentWorkflows.Abstractions Assembly » Cat.FluentWorkflows.Abstractions Namespace

ICatForeachState<TCollection,TWorkflowState> Interface

The state of the steps inside a foreach. It holds the current item and the state of the workflow around the loop.

public interface ICatForeachState<TCollection,TWorkflowState> : Cat.FluentWorkflows.Abstractions.ICatWorkflowState<Cat.FluentWorkflows.Abstractions.ICatForeachState<TCollection, TWorkflowState>>
    where TWorkflowState : class, Cat.FluentWorkflows.Abstractions.ICatWorkflowState<TWorkflowState>

Type parameters

TCollection

The type of the items in the collection.

TWorkflowState

The state of the workflow around the loop.

Implements Cat.FluentWorkflows.Abstractions.ICatWorkflowState<Cat.FluentWorkflows.Abstractions.ICatForeachState<TCollection,TWorkflowState>>

Properties  
CurrentItem The item the loop is working on.
ParentWorkflowState The state of the workflow around the loop.