Class RuntimeComponent
Namespace: Casewhere.Runtime.Engine.Services
Assembly: Casewhere.Runtime.dll
public class RuntimeComponent
Inheritance
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
DataBindingProperties
public IList<DataBindingProperty> DataBindingProperties { get; set; }
Property Value
Editable
public bool Editable { get; }
Property Value
Enabled
public bool Enabled { get; }
Property Value
FormActivityDefinition
public FormActivityDefinition FormActivityDefinition { get; }
Property Value
FormActivityDefinition
FormComponent
public FormComponent FormComponent { get; }
Property Value
FormComponent
HasParent
public bool HasParent { get; }
Property Value
Parent
public RuntimeComponent Parent { get; }
Property Value
ReadOnly
public bool ReadOnly { get; }
Property Value
Required
public bool Required { get; }
Property Value
ValidationResult
public ComponentValidationResult ValidationResult { get; set; }
Property Value
Visible
public bool Visible { get; }
Property Value
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
Type Parameters
T
HasValidationError()
public bool HasValidationError()
Returns
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
Type Parameters
T