Class NamedPropIterator
Static class, implementing the search for parameters for complex names that may include points and brackets.
Inheritance
System.Object
NamedPropIterator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public static class NamedPropIterator
Methods
FindNode(String, INamedProperty)
Searches inside a Root node, a property with the specified name Name
. Names can be complex consisting of
brackets and points. Points and brackets separate the names of child elements of different levels.
For example: NamedPropIterator.FindNode("Project.Operations", cldProject)
.
The case of characters does not matter.
Usually you don't need to call this method manually. The system calls it automatically when you ask some child parameter by name from an object that implements INamedProperty interface.Declaration
public static INamedProperty FindNode(string Name, INamedProperty Root)
Parameters
Type | Name | Description |
---|---|---|
System.String | Name | The name of parameter you want to find. Can be complex, containing points and brackets. |
INamedProperty | Root | Object among whose child parameters you want to look for the property. |
Returns
Type | Description |
---|---|
INamedProperty | If the searching finished successfully it returns the link to the found property.
If the searching fails it returns |