Table of Contents

Class RuntimeComponent

Namespace: Casewhere.Runtime.Engine.Services
Assembly: Casewhere.Runtime.dll

public class RuntimeComponent

Inheritance

objectRuntimeComponent

Inherited Members

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

Constructors

RuntimeComponent(WorkflowContext, FormActivityDefinition, FormComponent, RuntimeComponent)

public RuntimeComponent(WorkflowContext workflowContext, FormActivityDefinition formActivityDefinition, FormComponent formComponent, RuntimeComponent parent = null)

Parameters

workflowContext WorkflowContext

formActivityDefinition FormActivityDefinition

formComponent FormComponent

parent RuntimeComponent

Properties

ComponentStates

public IList<ComponentState> ComponentStates { get; set; }

Property Value

IList<ComponentState>

DataBindingProperties

public IList<DataBindingProperty> DataBindingProperties { get; set; }

Property Value

IList<DataBindingProperty>

Editable

public bool Editable { get; }

Property Value

bool

Enabled

public bool Enabled { get; }

Property Value

bool

FormActivityDefinition

public FormActivityDefinition FormActivityDefinition { get; }

Property Value

FormActivityDefinition

FormComponent

public FormComponent FormComponent { get; }

Property Value

FormComponent

HasParent

public bool HasParent { get; }

Property Value

bool

Parent

public RuntimeComponent Parent { get; }

Property Value

RuntimeComponent

ReadOnly

public bool ReadOnly { get; }

Property Value

bool

Required

public bool Required { get; }

Property Value

bool

ValidationResult

public ComponentValidationResult ValidationResult { get; set; }

Property Value

ComponentValidationResult

Visible

public bool Visible { get; }

Property Value

bool

WorkflowContext

public WorkflowContext WorkflowContext { get; }

Property Value

WorkflowContext

Methods

AppendDataBindingProperties(IList<DataBindingProperty>)

public void AppendDataBindingProperties(IList<DataBindingProperty> dataBindingProperties)

Parameters

dataBindingProperties IList<DataBindingProperty>

GetState<T>()

public virtual T GetState<T>() where T : ComponentState

Returns

T

Type Parameters

T

HasState<T>()

public bool HasState<T>() where T : ComponentState

Returns

bool

Type Parameters

T

HasValidationError()

public bool HasValidationError()

Returns

bool

SetState<T>(T)

public void SetState<T>(T componentState) where T : ComponentState

Parameters

componentState T

Type Parameters

T

SetValidationResult(ComponentValidationResult)

public void SetValidationResult(ComponentValidationResult validationResult)

Parameters

validationResult ComponentValidationResult

TryGetState<T>()

public virtual T TryGetState<T>() where T : ComponentState

Returns

T

Type Parameters

T

TryGetState<T>(out T)

public bool TryGetState<T>(out T componentState) where T : ComponentState

Parameters

componentState T

Returns

bool

Type Parameters

T