Extension used to access view's origins if it exists. Views can be created from scratch, but also from one or many other views. This extension provides methods which allow to build the dependency tree of current view. It also helps to retrieve information to know data origin and to identify a view between others.
More...
|
|
| ViewOriginExtension (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
| virtual ulong | Uid () |
| | Returns an unique identifier for current view.
|
| |
| virtual uint | ParentCount () |
| | Returns the count of parents used to create the current view.
|
| |
| virtual ViewOriginExtension | Parent (uint idx) |
| | Returns, for the given index, the viewOrigin extension of the parent used to create the current view.
|
| |
| virtual ViewDataOrigin | DataOrigin () |
| | Returns the data origin of current view.
|
| |
| virtual string | DisplayName () |
| | Returns the name of the current view to display.
|
| |
|
string | ToString () |
| | String representation of the extension.
|
| |
|
| Extension (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
void | Dispose () |
| |
|
|
static readonly uint | EXTENSION_ID = IOLinkPINVOKE.ViewOriginExtension_EXTENSION_ID_get() |
| |
|
| override void | Dispose (bool disposing) |
| |
Extension used to access view's origins if it exists. Views can be created from scratch, but also from one or many other views. This extension provides methods which allow to build the dependency tree of current view. It also helps to retrieve information to know data origin and to identify a view between others.
◆ Cast()
Upcast a generic extension to this specific type.
- Parameters
-
| extension | The extension to cast. |
- Returns
- The upcasted extension. This will be null if no upcasting is possible.
◆ DataOrigin()
Returns the data origin of current view.
- Exceptions
-
| Error | if data origin is not available |
◆ DisplayName()
| virtual string IOLink.ViewOriginExtension.DisplayName |
( |
| ) |
|
|
inlinevirtual |
Returns the name of the current view to display.
- Exceptions
-
| Error | if display name is not available |
◆ Dispose()
| override void IOLink.ViewOriginExtension.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotectedvirtual |
◆ Parent()
Returns, for the given index, the viewOrigin extension of the parent used to create the current view.
- Parameters
-
| idx | index of parent to retrieve |
- Exceptions
-
| Error | if the index is out of range |
- Returns
- a ViewOrigin extension which cannot be null
◆ ParentCount()
| virtual uint IOLink.ViewOriginExtension.ParentCount |
( |
| ) |
|
|
inlinevirtual |
Returns the count of parents used to create the current view.
- Returns
- count of view's parents
◆ Uid()
| virtual ulong IOLink.ViewOriginExtension.Uid |
( |
| ) |
|
|
inlinevirtual |
Returns an unique identifier for current view.
- Returns
- view identifier
The documentation for this class was generated from the following file:
- Release/net/generated/ViewOriginExtension.cs