C# Class CmisSync.Lib.Events.EncapsuledEvent

Takes an ISyncEvent and combines it together with the source object. This could be used to take one event of an event queue and put it into another queue without loosing context informations which are implicit given on the source queue.
Inheritance: ISyncEvent
Mostrar archivo Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
EncapsuledEvent ( ISyncEvent e ) : System

Initializes a new instance of the CmisSync.Lib.Events.EncapsuledEvent class with an embedded event.

ToString ( ) : string

Returns the description of the embedded event

Method Details

EncapsuledEvent() public method

Initializes a new instance of the CmisSync.Lib.Events.EncapsuledEvent class with an embedded event.
public EncapsuledEvent ( ISyncEvent e ) : System
e ISyncEvent An Event from another context. Must not be null
return System

ToString() public method

Returns the description of the embedded event
public ToString ( ) : string
return string