Table of Contents

Class SelectedMultipleValueValidator

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

public class SelectedMultipleValueValidator : ComponentValidator, IComponentValidator

Inheritance

objectComponentValidatorSelectedMultipleValueValidator

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

Constructors

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

public SelectedMultipleValueValidator(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