Skip to main content

ApplyConditionTo

Specifies where a When/Unless condition should be applied

Assembly: ServiceStack.dll
View Source
Declaration
public enum ApplyConditionTo

Fields

AllValidators

Applies the condition to all validators declared so far in the chain.

View Source
Declaration
AllValidators = 0

CurrentValidator

Applies the condition to the current validator only.

View Source
Declaration
CurrentValidator = 1