Table of Contents

Class FlowDefinitionConfiguration

Namespace
JobFlow.Core.Flows
Assembly
JobFlow.Core.dll

Container for all defined FlowDefinition objects.

public class FlowDefinitionConfiguration
Inheritance
FlowDefinitionConfiguration
Extension Methods

Constructors

FlowDefinitionConfiguration()

public FlowDefinitionConfiguration()

Methods

Add(FlowDefinition)

Add a new FlowDefinition.

public void Add(FlowDefinition definition)

Parameters

definition FlowDefinition

Add(string, Type, FlowDefinitionSettings?)

Add a new FlowDefinition with the specified Name and DocumentDataType and with default settings.

public void Add(string name, Type type, FlowDefinitionSettings? settings = null)

Parameters

name string
type Type
settings FlowDefinitionSettings?

Add<T>(FlowDefinitionSettings?)

Add a new FlowDefinition with the specified DocumentDataType and with default settings. The Name is set to the name of the DocumentDataType class.

public void Add<T>(FlowDefinitionSettings? settings = null)

Parameters

settings FlowDefinitionSettings?

Type Parameters

T

Add<T>(string, FlowDefinitionSettings?)

Add a new FlowDefinition with the specified Name and DocumentDataType and with default settings.

public void Add<T>(string name, FlowDefinitionSettings? settings = null)

Parameters

name string
settings FlowDefinitionSettings?

Type Parameters

T

Get(string, bool)

Retrieve a FlowDefinition with the specified name.

public FlowDefinition Get(string name, bool throwIfNotFound = true)

Parameters

name string
throwIfNotFound bool

When true (the default), a DocumentTypeNotFoundException is thrown if the definition is not found. Otherwise, null is returned.

Returns

FlowDefinition

Exceptions

DocumentTypeNotFoundException