Class EventData
EventData containing data related to event handlers
Carrier object for EventData. Services for the EventData Carrier is available from the ICustomerServiceAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class EventData : Carrier
Constructors
EventData()
Default constructor
Declaration
public EventData()
See Also
Properties
BlockExecution
Whether the context should stop what it is doing, e.g. saving a sale
Declaration
public virtual bool BlockExecution { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
CgiContent
The Cgi content/body, sent by some events
Declaration
public virtual string CgiContent { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
CgiVariables
Cgi variables sent by some events
Declaration
public virtual StringDictionary CgiVariables { get; set; }
Property Value
Type | Description |
---|---|
StringDictionary |
See Also
Exception
String containing error message from handler system if it failed
Declaration
public virtual string Exception { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Headers
Incoming headers if sent by the context which the script is executed from
Declaration
public virtual StringDictionary Headers { get; set; }
Property Value
Type | Description |
---|---|
StringDictionary |
See Also
InputValues
Environment values sent to the event handler
Declaration
public virtual StringDictionary InputValues { get; set; }
Property Value
Type | Description |
---|---|
StringDictionary |
See Also
Message
A message to be presented to the user
Declaration
public virtual string Message { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
NavigateTo
Where the context should naviate afterwards
Declaration
public virtual string NavigateTo { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
OutputValues
Values sent back to the environment from the event handler
Declaration
public virtual StringDictionary OutputValues { get; set; }
Property Value
Type | Description |
---|---|
StringDictionary |
See Also
ParserValues
Parser values sent to the event handler
Declaration
public virtual StringDictionary ParserValues { get; set; }
Property Value
Type | Description |
---|---|
StringDictionary |
See Also
ShowDialog
JSON structure of dialog to show
Declaration
public virtual string ShowDialog { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
StateValues
Values kept between event handlers
Declaration
public virtual StringDictionary StateValues { get; set; }
Property Value
Type | Description |
---|---|
StringDictionary |
See Also
TraceExecution
If true, then the execution will be traced
Declaration
public virtual bool TraceExecution { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
Type
The type of event we are triggered by
Declaration
public virtual EventHandlerType Type { get; set; }
Property Value
Type | Description |
---|---|
EventHandlerType |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |