Click or drag to resize
Logic Class
Base validation logic that chains conditions and handles notification and parameters
Inheritance Hierarchy

Namespace: FlexRule.Validation.Rules
Assembly: FlexRule.Validation (in FlexRule.Validation.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public abstract class Logic : Aggregate, 
	IElementExecutableItem, ISignatureDescriptionProvider<ISignatureDescriptions>, ISignatureDescriptionProvider

The Logic type exposes the following members.

Constructors
  NameDescription
Protected methodLogic
Top
Properties
  NameDescription
Protected propertyActivatorRegistry (Inherited from ActiveElement.)
Public propertyChilds (Inherited from ActiveElement.)
Public propertyEnabled
Public propertyHasVariable
Returns true if the logic requires input variable parameter
Public propertyHasVariableDeclaration
True when the logic defines variable using Declaration command
Protected propertyInputVariable
Protected propertyLogic (Inherited from ValidationBase.)
Public propertyLogicType
Type that logic is for
Public propertyModel (Inherited from ActiveElement.)
Public propertyName
Name of the logic
Public propertyNavigator (Inherited from ActiveElement.)
Public propertyNegated (Inherited from ValidationBase.)
Public propertyNoticeFor
When this event happens notices being written into notification
(Inherited from ValidationBase.)
Public propertyNoticeGroup (Inherited from ValidationBase.)
Public propertyNoticeTargetObject (Inherited from ValidationBase.)
Public propertyNoticeType (Inherited from ValidationBase.)
Public propertyPriority (Inherited from ValidationBase.)
Public propertyRules
List of rules
(Inherited from Aggregate.)
Public propertyRulesLength
Numbers if available rule to be validated
(Inherited from Aggregate.)
Public propertyTag (Inherited from ValidationBase.)
Protected propertyValidatorDescriptions (Inherited from ValidationBase.)
Top
Methods
  NameDescription
Protected methodActivateElement
Creates active element for the provided model
(Inherited from ActiveElement.)
Protected methodActivateInnerElements
Activates all the child elements of the provided node
(Inherited from ActiveElement.)
Protected methodAddExceptionCommand
During activation commands listed as exception will not be activated
(Inherited from ActiveElement.)
Protected methodAnyValidationChild (Inherited from ValidationBase.)
Protected methodCheckRuleConsistency (Overrides ValidationBaseCheckRuleConsistency.)
Protected methodCollectFactoryArguments (Inherited from ActiveElement.)
Protected methodComputeT (Inherited from ValidationBase.)
Protected methodComputeExpressionT (Inherited from ValidationBase.)
Protected methodCopyCurrentToTarget (Inherited from ValidationBase.)
Protected methodCreateActiveElement(IElementModel)
Creates active element using provided model as the source and the parent is the current ActiveElement
(Inherited from ActiveElement.)
Protected methodCreateActiveElement(ActiveElement, IElementModel)
Creates active element using element as source and provided parent
(Inherited from ActiveElement.)
Public methodExecute
Protected methodFindRunningValidator (Inherited from ValidationBase.)
Public methodFinialize
Public methodFirstRule
Gets first rule to be validated
(Inherited from Aggregate.)
Protected methodGetContainer
Public methodGetEnumerator (Inherited from ActiveElement.)
Public methodGetResult (Inherited from ValidationBase.)
Protected methodHasActiveElement
Check if there is a child active element of a specific type
(Inherited from ActiveElement.)
Protected methodPostProcess (Inherited from ValidationBase.)
Protected methodProcessContainer (Inherited from ValidationBase.)
Protected methodRaiseExecuting(IActiveElementExecutor) (Inherited from ValidationBase.)
Protected methodRaiseExecuting(IActiveElementExecutor, ActiveElement) (Inherited from ValidationBase.)
Protected methodSetLogicName
Set or override a logic name
Public methodToString (Inherited from ActiveElement.)
Protected methodWriteSuccessulLogic (Inherited from ValidationBase.)
Top
Fields
  NameDescription
Protected fieldStatic memberParamName
Protected fieldStatic memberParamVariable
Top
Extension Methods
  NameDescription
Public Extension MethodFillDictionaryByParameters (Defined by ActiveElementUtility.)
Public Extension MethodFindFirstActiveElement
Finds the first active element child that has the provided command name
(Defined by ActiveElementUtility.)
Public Extension MethodGetDeclaration (Defined by ElementModelUtility.)
Public Extension MethodGetFormattedStringtValue (Defined by ActiveElementUtility.)
Public Extension MethodGetRoot (Defined by ElementModelUtility.)
Public Extension MethodGetValueOfAttributeOrRef(String, IElementModelParameterCollection, IVariableContainer)Overloaded.
Get 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. Also it checks the container for '-ref' post fix of the attribute name.
(Defined by ActiveElementUtility.)
Public Extension MethodGetValueOfAttributeOrRef(String, IElementModelParameterCollection, IVariableContainer, Boolean, Boolean)Overloaded.
Get 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. Also it checks the container for '-ref' post fix of the attribute name.
(Defined by ActiveElementUtility.)
Public Extension MethodGetValueOfAttributeOrRef(String, String, IElementModelParameterCollection, IVariableContainer, Boolean, Boolean)Overloaded.
Get 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. Also it checks the container for '-ref' post fix of the attribute name.
(Defined by ActiveElementUtility.)
Public Extension MethodGetValueOfAttributeOrVariable
Get 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 ActiveElementUtility.)
Public Extension MethodHasActiveElement
Check if there is a child active element of a specific type
(Defined by ActiveElementUtility.)
Public Extension MethodIsMonadParameterReference (Defined by MonadParameterReferenceExtension.)
Top
See Also