Click or drag to resize
PanelContent Class
The content of a panel as retrieved from an eSales servie.

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.

Inheritance Hierarchy
SystemObject
  Apptus.ESales.ConnectorPanelContent

Namespace:  Apptus.ESales.Connector
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.5.0
Syntax
C#
public sealed class PanelContent

The PanelContent type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
A read only dictionary with the panel attributes.
Public propertyError
A possible error encountered during panel execution. If this panel had no error, this will be null.
Public propertyHasResult
True if the panel has either a result or an error.
Public propertyIsZone
True if this panel has sub panels.
Public propertyPath
The complete path of this panel.
Public propertySubpanels
A read only list of all subpanels in this panel
Public propertyTicket
A ticket of this panel.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHasSubpanel
Returns True if this zone contains a subpanel with the specified relative path.
Public methodResult
Returns the result of this panel. If this panel is not a function panel, then returns null.
Public methodResultAsAds
Fetches the result as Ads.
Public methodResultAsCategoryList
Fetches the result as a list of CategoryData objects. These objects do not have links to any subcategories or parent.
Public methodResultAsCategoryTree
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).
Public methodResultAsCompletions
Fetches the result as Completions.
Public methodResultAsCorrections
Fetches the result as Corrections.
Public methodResultAsCount
Fetches the result as Count.
Public methodResultAsFacetList
Public methodResultAsFacetRange
Fetches the result as FacetRange.
Public methodResultAsPhrases
Fetches the result as Phrases.
Public methodResultAsProducts
Fetches the result as Products.
Public methodResultAsValues
Fetches the result as Values.
Public methodSubpanel
Return a sub panel given it's relativePath to this one.
Public methodToString (Inherited from Object.)
Top
See Also