HpSvExtensions Methods | ![]() |
The HpSvExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() ![]() | GetOrCreateTSource, TResult |
Extension method allowing to recursively navigate to a child structure or leaf value in a safe manner, preventing NullReferenceException on accessing missing data.
It traverses the path sequentially. When a child structure does not exist then it is created using a default constructor. Leaf values (like number or string) are not initialized.
Array items could be addressed using constant literals or simple int variable access.
|
![]() ![]() | GetValue(HpsvActivityBase, String) |
Extension method allowing to get a child structure based on a string path
|
![]() ![]() | GetValue(HpsvArray, String) |
Extension method allowing to get a child structure based on a string path
|
![]() ![]() | GetValue(HpsvObject, String) |
Extension method allowing to get a child structure based on a string path
|
![]() ![]() | GetValueInner(HpsvActivityBase, String, Int32) |
Internal use only
|
![]() ![]() | GetValueInner(HpsvArray, String, Int32) |
Internal use only
|
![]() ![]() | GetValueInner(HpsvObject, String, Int32) |
Internal use only
|
![]() ![]() | Rethrow |
Allows to retain the original stack trace of the exception
|