Table of Contents

Class CustomRuleValidator

Namespace: Casewhere.Runtime.SmartFormValidation
Assembly: Casewhere.Runtime.dll

public class CustomRuleValidator : ComponentValidator, IComponentValidator

Inheritance

objectComponentValidatorCustomRuleValidator

Implements

IComponentValidator

Inherited Members

ComponentValidator._workflowRuntime, ComponentValidator._next, ComponentValidator.Accept(RuntimeComponent), ComponentValidator.IsValid(RuntimeComponent, ComponentValidationContext, ComponentValidationResult), ComponentValidator.TryValidate(RuntimeComponent, ComponentValidationContext, ComponentValidationResult), object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<CustomRuleValidator>(CustomRuleValidator)

Constructors

CustomRuleValidator(IWorkflowRuntime)

public CustomRuleValidator(IWorkflowRuntime workflowRuntime)

Parameters

workflowRuntime IWorkflowRuntime

Methods

Accept(RuntimeComponent)

protected override bool Accept(RuntimeComponent runtimeComponent)

Parameters

runtimeComponent RuntimeComponent

Returns

bool

IsValid(RuntimeComponent, ComponentValidationContext, ComponentValidationResult)

protected override bool IsValid(RuntimeComponent runtimeComponent, ComponentValidationContext context, ComponentValidationResult result)

Parameters

runtimeComponent RuntimeComponent

context ComponentValidationContext

result ComponentValidationResult

Returns

bool