Skip to main content
.NET 6.0+

IModelValidationRules Members

The Rules node defines all the Rules that are applied in an application.

Properties

Name Description
Application Provides access to the Application Model‘s root node. Inherited from IModelNode.
Count Gets the number of elements contained in the ICollection<T>. Inherited from ICollection<T>.
Index Specifies the order index by which nodes are arranged. Inherited from IModelNode.
IsReadOnly Gets a value indicating whether the ICollection<T> is read-only. Inherited from ICollection<T>.
Item[Int32] Gets or sets the element at the specified index. Inherited from IList<T>.
NodeCount Gets the number of child nodes. Inherited from IModelNode.
Parent Provides access to the parent node. Inherited from IModelNode.
Root For internal use only. Inherited from IModelNode.

Methods

Name Description
AddNode<NodeType>() Adds a new child node of a specific type. Inherited from IModelNode.
AddNode<NodeType>(String) Adds a new child node of a specific type with a specific identifier. Inherited from IModelNode.
ClearValue(String) Resets the node’s property value to the value specified in the previous Application Model layer. Inherited from IModelNode.
Contains(T) Determines whether the ICollection<T> contains a specific value. Inherited from ICollection<T>.
CopyTo(T[], Int32) Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. Inherited from ICollection<T>.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
GetNode(Int32) Gets the child node with a specific index. Inherited from IModelNode.
GetNode(String) Gets the child node with a specific identifier. Inherited from IModelNode.
GetValue<ValueType>(String) Returns the value of the node’s specified property. Inherited from IModelNode.
HasValue(String) Indicates whether the node’s property has a value assigned. Inherited from IModelNode.
IndexOf(T) Determines the index of a specific item in the IList<T>. Inherited from IList<T>.
Remove() Removes the current node. Inherited from IModelNode.
SetValue<ValueType>(String, ValueType) Changes the value of the node’s specified property. Inherited from IModelNode.
See Also