Show / Hide Table of Contents

Struct Statics.StepBreakFromAction<T, TStep>

Built in struct for runtime computations.

Implements
IFunc<T, StepStatus>
Namespace: Towel
Assembly: Towel.dll
Syntax
public struct StepBreakFromAction<T, TStep> : IFunc<T, StepStatus> where TStep : struct, IAction<T>
Type Parameters
Name Description
T

The generic type of the values.

TStep

The Step function.

Methods

| Improve this Doc View Source

Invoke(T)

Declaration
public StepStatus Invoke(T value)
Parameters
Type Name Description
T value
Returns
Type Description
StepStatus

Operators

| Improve this Doc View Source

Implicit(TStep to Statics.StepBreakFromAction<T, TStep>)

Implicitly wraps runtime computation inside a compile time struct.

Declaration
public static implicit operator Statics.StepBreakFromAction<T, TStep>(TStep step)
Parameters
Type Name Description
TStep step

The runtime Step delegate.

Returns
Type Description
Statics.StepBreakFromAction<T, TStep>

Implements

IFunc<T1, TResult>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX