Table of Contents

Class FlowModule<TSettings>

Namespace
Crosser.EdgeNode.Flows
Assembly
Crosser.EdgeNode.Flows.dll

Base class for all modules with settings.

public abstract class FlowModule<TSettings> : FlowModule, IFlowModule, IDisposable where TSettings : FlowModuleSettings, new()

Type Parameters

TSettings

The class to use as settings for the module

Inheritance
FlowModule<TSettings>
Implements
Derived
Inherited Members

Constructors

FlowModule(FlowModuleType)

Constructor for FlowModule<TSettings>

public FlowModule(FlowModuleType moduleType)

Parameters

moduleType FlowModuleType

Properties

Settings

public TSettings Settings { get; protected set; }

Property Value

TSettings

Methods

AllowMessageToEnterModule(IFlowMessage)

Get the setting class for the module

protected override bool AllowMessageToEnterModule(IFlowMessage message)

Parameters

message IFlowMessage

Returns

bool

The settings class of the type passed in as generic FlowModule<TSettings>

BypassMessageNotMatchingRules()

protected override bool BypassMessageNotMatchingRules()

Returns

bool

LoadSettings(string)

public override sealed void LoadSettings(string settingsAsJson)

Parameters

settingsAsJson string

ValidateSettings(SettingsValidator)

public override sealed void ValidateSettings(SettingsValidator validator)

Parameters

validator SettingsValidator