Table of Contents

Class WorkflowDefinition

Namespace
Millrace.Workflows
Assembly
Millrace.dll

A compiled workflow definition: the exported shape plus the runtime bindings that shape omits.

public abstract class WorkflowDefinition
Inheritance
WorkflowDefinition
Derived
Inherited Members

Properties

DataType

The TData this workflow carries.

Graph

The serializable shape — what the dashboard renders and a designer would edit.

Id

Identity of the workflow this defines.

Version

Version of this definition; with Id it is the registry key.

Methods

Compile<TData>(IWorkflow<TData>)

Compiles an IWorkflow<TData> into a definition.

ExportGraph(JsonSerializerOptions?)

The graph as JSON. Deliberately the whole export surface: everything a renderer needs, and nothing that would tie it to this process.