Show / Hide Table of Contents

Class EventData

EventData containing data related to event handlers

Carrier object for EventData. Services for the EventData Carrier is available from the ICustomerServiceAgent.
Inheritance
Object
EventData
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class EventData : Carrier

Constructors

EventData()

Default constructor

Declaration
public EventData()
See Also
CustomerServiceAgent
ICustomerServiceAgent

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
CustomerServiceAgent
ICustomerServiceAgent

CgiContent

The Cgi content/body, sent by some events

Declaration
public virtual string CgiContent { get; set; }
Property Value
Type Description
String
See Also
CustomerServiceAgent
ICustomerServiceAgent

CgiVariables

Cgi variables sent by some events

Declaration
public virtual StringDictionary CgiVariables { get; set; }
Property Value
Type Description
StringDictionary
See Also
CustomerServiceAgent
ICustomerServiceAgent

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
CustomerServiceAgent
ICustomerServiceAgent

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
CustomerServiceAgent
ICustomerServiceAgent

InputValues

Environment values sent to the event handler

Declaration
public virtual StringDictionary InputValues { get; set; }
Property Value
Type Description
StringDictionary
See Also
CustomerServiceAgent
ICustomerServiceAgent

Message

A message to be presented to the user

Declaration
public virtual string Message { get; set; }
Property Value
Type Description
String
See Also
CustomerServiceAgent
ICustomerServiceAgent

NavigateTo

Where the context should naviate afterwards

Declaration
public virtual string NavigateTo { get; set; }
Property Value
Type Description
String
See Also
CustomerServiceAgent
ICustomerServiceAgent

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
CustomerServiceAgent
ICustomerServiceAgent

ParserValues

Parser values sent to the event handler

Declaration
public virtual StringDictionary ParserValues { get; set; }
Property Value
Type Description
StringDictionary
See Also
CustomerServiceAgent
ICustomerServiceAgent

ShowDialog

JSON structure of dialog to show

Declaration
public virtual string ShowDialog { get; set; }
Property Value
Type Description
String
See Also
CustomerServiceAgent
ICustomerServiceAgent

StateValues

Values kept between event handlers

Declaration
public virtual StringDictionary StateValues { get; set; }
Property Value
Type Description
StringDictionary
See Also
CustomerServiceAgent
ICustomerServiceAgent

TraceExecution

If true, then the execution will be traced

Declaration
public virtual bool TraceExecution { get; set; }
Property Value
Type Description
Boolean
See Also
CustomerServiceAgent
ICustomerServiceAgent

Type

The type of event we are triggered by

Declaration
public virtual EventHandlerType Type { get; set; }
Property Value
Type Description
EventHandlerType
See Also
CustomerServiceAgent
ICustomerServiceAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
String

The carrier contents.

See Also
CustomerServiceAgent
ICustomerServiceAgent

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.

See Also
CustomerServiceAgent
ICustomerServiceAgent

See Also

CustomerServiceAgent
ICustomerServiceAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top