Click or drag to resize
IElementModel Interface
IElementModel is a source for active elements. Combination of this interface would model the required logic and rule. This type is the fundamental part of modeling rules and logic of the system.

Namespace: FlexRule.Core.Model
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public interface IElementModel : IChildNavigator<IElementModel>

The IElementModel type exposes the following members.

Properties
  NameDescription
Public propertyChilds
All children of the element
Public propertyFirstChild
Returns the first child
(Inherited from IChildNavigatorT.)
Public propertyHasChildren
True if there is any child, otherwise false.
(Inherited from IChildNavigatorT.)
Public propertyHasParent
True if has parent, otherwise false
(Inherited from IChildNavigatorT.)
Public propertyLastChild
Returns last child
(Inherited from IChildNavigatorT.)
Public propertyName
Name of the element model that always exists
Public propertyNavigator
Provides navigator for detail navigation inside the element
Public propertyNextSibling
Returns the next sibling
(Inherited from IChildNavigatorT.)
Public propertyParameters
All parameters of a element
Public propertyParent
Parent of active element
(Inherited from IChildNavigatorT.)
Public propertyPrevSibling
Returns previous sibling
(Inherited from IChildNavigatorT.)
Public propertySourceInfo
Line information for this element
Public propertyText
Text of the element model that may not exist
Top
Methods
  NameDescription
Public methodCreateSelector
Creates a model selector to look into the current element model
Top
Extension Methods
  NameDescription
Public Extension MethodGetDeclaration (Defined by ElementModelUtility.)
Public Extension MethodGetIndex
Gets the index of this model on the parent. When parent is null, returns -1
(Defined by ElementModelUtility.)
Public Extension MethodGetJavaScriptCustomFunctions
Custom functions via Using are functions that they provide name attribute
(Defined by ElementModelUtility.)
Public Extension MethodGetLogic
When Validation document, it find Logic element of a model. Otherwise null.
(Defined by ElementModelUtility.)
Public Extension MethodGetParameterValueTExpectedType
Reads the parameter's value based on a specific expected type
(Defined by ElementModelUtility.)
Public Extension MethodGetRoot
Find Root element of a model
(Defined by ElementModelUtility.)
Public Extension MethodGetValueOfAttributeOrVariable
Find the value from model`s parameters. If that value is a name of variable if the provided container it resolve the result with the container.
(Defined by ElementModelUtility.)
Public Extension MethodGetWorkflowIdentity (Defined by InstanceIdentityExtensions.)
Public Extension MethodHasChildOf
Checks if the model has any child name as childCommandName
(Defined by ElementModelUtility.)
Public Extension MethodIndexOf
Checks if the model has any child name as childCommandName
(Defined by ElementModelUtility.)
Public Extension MethodIsInHierarchy
Checks if the model happens inside the command name
(Defined by ElementModelUtility.)
Public Extension MethodSameAs
Checks if both provided model are the same
(Defined by ElementModelUtility.)
Public Extension MethodToMonadBuilder (Defined by MonadExtensions.)
Public Extension MethodToXml
Transform IElementModel to its XML presentation
(Defined by ElementModelUtility.)
Top
See Also