Class Flow
Assembly: FlowSemantics.dll
Syntax
Methods
|
Edit this page
View Source
CatchAny(ExceptionHandler, string)
Declaration
public Flow CatchAny(Flow.ExceptionHandler handler, string id)
Parameters
Returns
|
Edit this page
View Source
CatchTyped(string, ExceptionHandler, string)
Declaration
public Flow CatchTyped(string excKind, Flow.ExceptionHandler handler, string id)
Parameters
Returns
|
Edit this page
View Source
CatchWhen(string, ExceptionPredicate, ExceptionHandler, string)
Declaration
public Flow CatchWhen(string excKind, Flow.ExceptionPredicate pred, Flow.ExceptionHandler handler, string id)
Parameters
Returns
|
Edit this page
View Source
Compile()
Declaration
public Flow.FlowContract Compile()
Returns
|
Edit this page
View Source
Create()
Declaration
public static Flow Create()
Returns
|
Edit this page
View Source
DefaultIfNoMatch(object?)
Declaration
public Flow DefaultIfNoMatch(object? value)
Parameters
| Type |
Name |
Description |
| object |
value |
|
Returns
|
Edit this page
View Source
DefaultValue(object?)
Declaration
public Flow DefaultValue(object? value)
Parameters
| Type |
Name |
Description |
| object |
value |
|
Returns
|
Edit this page
View Source
Finally(CleanupFn)
Declaration
public Flow Finally(Flow.CleanupFn cleanup)
Parameters
Returns
|
Edit this page
View Source
FromIr(JsonNode)
Declaration
public static Flow FromIr(JsonNode ir)
Parameters
Returns
|
Edit this page
View Source
OnMatch(HookFn)
Declaration
public Flow OnMatch(Flow.HookFn hook)
Parameters
Returns
|
Edit this page
View Source
Otherwise(ActionFn)
Declaration
public Flow Otherwise(Flow.ActionFn action)
Parameters
Returns
|
Edit this page
View Source
Rethrow()
Declaration
Returns
|
Edit this page
View Source
Then(ActionFn, string)
Declaration
public Flow Then(Flow.ActionFn action, string id)
Parameters
Returns
|
Edit this page
View Source
When(ConditionFn, ActionFn, string, GuardFn?, int, List<Effect>?, long?, long?)
Declaration
public Flow When(Flow.ConditionFn cond, Flow.ActionFn action, string id, Flow.GuardFn? guard = null, int priority = 0, List<Effect>? effects = null, long? effectiveFrom = null, long? effectiveUntil = null)
Parameters
Returns
|
Edit this page
View Source
WhenExpr(PExpr, PExpr, string, List<Effect>?)
Declaration
public Flow WhenExpr(Portable.PExpr cond, Portable.PExpr transform, string id, List<Effect>? effects = null)
Parameters
Returns
|
Edit this page
View Source
WhenNot(ConditionFn, ActionFn, string, long?, long?)
Declaration
public Flow WhenNot(Flow.ConditionFn cond, Flow.ActionFn action, string id, long? effectiveFrom = null, long? effectiveUntil = null)
Parameters
Returns
|
Edit this page
View Source
WhenNotExpr(PExpr, PExpr, string, List<Effect>?)
Declaration
public Flow WhenNotExpr(Portable.PExpr cond, Portable.PExpr transform, string id, List<Effect>? effects = null)
Parameters
Returns
|
Edit this page
View Source
WithCancelCheck(Func<bool>)
Declaration
public Flow WithCancelCheck(Func<bool> check)
Parameters
Returns
|
Edit this page
View Source
WithClock(IClock)
Declaration
public Flow WithClock(IClock clock)
Parameters
| Type |
Name |
Description |
| IClock |
clock |
|
Returns
|
Edit this page
View Source
WithFinallyPolicy(FinallyFailurePolicy)
Declaration
public Flow WithFinallyPolicy(FinallyFailurePolicy policy)
Parameters
Returns
|
Edit this page
View Source
WithFinallyTimeout(long)
Declaration
public Flow WithFinallyTimeout(long ms)
Parameters
| Type |
Name |
Description |
| long |
ms |
|
Returns
|
Edit this page
View Source
WithFlowId(string)
Declaration
public Flow WithFlowId(string id)
Parameters
| Type |
Name |
Description |
| string |
id |
|
Returns
|
Edit this page
View Source
WithMode(EvaluationMode)
Declaration
public Flow WithMode(EvaluationMode mode)
Parameters
Returns
|
Edit this page
View Source
WithTrace()
Declaration
Returns
|
Edit this page
View Source
WithTrace(DiagnosticHook)
Declaration
public Flow WithTrace(DiagnosticHook hook)
Parameters
Returns