Table of Contents

Class SelectedValueValidator

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

public class SelectedValueValidator : ComponentValidator, IComponentValidator

Inheritance

objectComponentValidatorSelectedValueValidator

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<SelectedValueValidator>(SelectedValueValidator)

Constructors

SelectedValueValidator(IComponentValidator, IDataObjectApiService, IDataSourceApiService, IDataClassRepository, IComponentDataSourceRepository, IComponentDataSourceQueryBuilder, IWorkflowRuntime)

public SelectedValueValidator(IComponentValidator next, IDataObjectApiService dataObjectApiService, IDataSourceApiService dataSourceApiService, IDataClassRepository dataClassRepository, IComponentDataSourceRepository componentDataSourceRepository, IComponentDataSourceQueryBuilder componentDataSourceQueryBuilder, IWorkflowRuntime workflowRuntime)

Parameters

next IComponentValidator

dataObjectApiService IDataObjectApiService

dataSourceApiService IDataSourceApiService

dataClassRepository IDataClassRepository

componentDataSourceRepository IComponentDataSourceRepository

componentDataSourceQueryBuilder IComponentDataSourceQueryBuilder

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