PanelContent Class |
A PanelContent object contains all panel attributes for the panel, as defined in eSales Manager.
For zone panels, a PanelContent object contains all subpanels returned by the eSales service.
For function panels, a PanelContent object contains the result of evaluating the function in the eSales service.
An object of this class will never make new requests to the eSales service; it justs holds the result of a request.
Namespace: Apptus.ESales.Connector
public sealed class PanelContent
The PanelContent type exposes the following members.
Name | Description | |
---|---|---|
![]() | Attributes |
A read only dictionary with the panel attributes.
|
![]() | Error |
A possible error encountered during panel execution. If this panel had no error, this will be null.
|
![]() | HasResult | True if the panel has either a result or an error.
|
![]() | IsZone | True if this panel has sub panels.
|
![]() | Path |
The complete path of this panel.
|
![]() | Subpanels |
A read only list of all subpanels in this panel
|
![]() | Ticket |
A ticket of this panel.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | HasSubpanel |
Returns True if this zone contains a subpanel with the specified relative path.
|
![]() | Result |
Returns the result of this panel. If this panel is not
a function panel, then returns null.
|
![]() | ResultAsAds |
Fetches the result as Ads.
|
![]() | ResultAsCategoryList |
Fetches the result as a list of CategoryData objects. These objects do not have links to any subcategories or
parent.
|
![]() | ResultAsCategoryTree |
Fetches the result as a CategoryNode object, representing the root of a (possibly partial) category tree.
The tree can be traversed using for example the Subcategories property, or utility methods such as GetSelectedSubcategory()
and FindDescendant(string).
|
![]() | ResultAsCompletions |
Fetches the result as Completions.
|
![]() | ResultAsCorrections |
Fetches the result as Corrections.
|
![]() | ResultAsCount |
Fetches the result as Count.
|
![]() | ResultAsFacetList |
Fetches the result as a FacetList. The elements in the list are either ResultValues or ResultFacetRange.
|
![]() | ResultAsFacetRange |
Fetches the result as FacetRange.
|
![]() | ResultAsPhrases |
Fetches the result as Phrases.
|
![]() | ResultAsProducts |
Fetches the result as Products.
|
![]() | ResultAsValues |
Fetches the result as Values.
|
![]() | Subpanel |
Return a sub panel given it's relativePath to this one.
|
![]() | ToString | (Inherited from Object.) |