Interface IStringNamedPropertyIndexer
A helper interface that allows you to quickly get the string value of a nested property by its
unique name using a convenient syntax with square brackets Str["NestedPropName"]
.
Namespace: DotnetPostprocessing.SDK
Assembly: DotnetPostprocessing.SDK.dll
Syntax
public interface IStringNamedPropertyIndexer
Properties
this[string]
Returns the string 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: Str["Project.Name"]
.
The case of characters does not matter.
Declaration
string this[string PName] { get; set; }
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 |
---|---|
string | Returns the string value of a nested property. |