Interface IBooleanNamedPropertyIndexer
A helper interface that allows you to quickly get the boolean value of a nested property by its
unique name using a convenient syntax with square brackets Bol["NestedPropName"]
.
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public interface IBooleanNamedPropertyIndexer
Properties
Item[String]
Returns the boolean value of 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 the property value of
the second and subsequent nesting levels. For example: Bol["Project.Enabled"]
.
The case of characters does not matter.
Declaration
bool this[string PName] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.String | PName | The name of a nested parameter you want to obtain. It can be compound name separated by points. |
Property Value
Type | Description |
---|---|
System.Boolean | Returns the boolean value of a nested property. |