Interface INamedPropertyIndexer
A helper interface that allows you to quickly get a reference to a nested property by its unique name
using a convenient syntax with square brackets Ptr["NestedPropName"]
.
Namespace: SprutCAMTech.SCPostprocessor
Assembly: SprutCAMTech.SCPostprocessor.dll
Syntax
public interface INamedPropertyIndexer
Properties
this[string]
Returns a reference to a nested property by its unique name. You can use the compound name
of the property, separating the individual parts with a point, to obtain a reference to
the property of the second and subsequent nesting levels. For example: Ptr["StartPoint.X"]
.
The case of characters does not matter.
Declaration
INamedProperty this[string PName] { get; }
Parameters
Type | Name | Description |
---|---|---|
string | PName | The name of a nested parameter you want to obtain. It can be compound name separated by points. |
Property Value
Type | Description |
---|---|
INamedProperty | Returns a reference to the nested property. |