Click or drag to resize

HpsvSequenceBuilderBaseReconfigure Method

Reconfigures existing sequence by name or creates new one (using configure) from current scope

Namespace:  HP.SV.DotNetRuleApi
Assembly:  HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 5.3.0.9999-localBuild
Syntax
C#
public HpsvSequence Reconfigure(
	string name,
	Action<ISequenceConfigurer> configure
)

Parameters

name
Type: SystemString
The name of the sequence
configure
Type: SystemActionISequenceConfigurer
Callback specifying how the sequence should be configured. You can override each value using dot notation, see example bellow. For default/valid values check ISequenceConfigurer

Return Value

Type: HpsvSequence
The sequence
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
ArgumentNullExceptionconfigure is null.
Examples
var sequence = hpsv.SequenceBuilder.Reconfigure("name", configure => configure.WithMinValue(0).Cache(100));
See Also