C# Class Appccelerate.DistributedEventBroker.Serializer.XmlEventArgsSerializer

Serializer which serializes event arguments into an xml string. The standard xml serialization restrictions do apply.
Inheritance: IEventArgsSerializer
Show file Open project: appccelerate/appccelerate Class Usage Examples

Public Methods

Method Description
Deserialize ( Type eventArgsType, string eventArgs ) : EventArgs

Deserialize the specified event args type from its string representation.

Serialize ( EventArgs eventArgs ) : string

Serializes the specified event argument into a string representation.

Method Details

Deserialize() public method

Deserialize the specified event args type from its string representation.
public Deserialize ( Type eventArgsType, string eventArgs ) : EventArgs
eventArgsType System.Type Type of the event args.
eventArgs string The event args as string.
return System.EventArgs

Serialize() public method

Serializes the specified event argument into a string representation.
public Serialize ( EventArgs eventArgs ) : string
eventArgs System.EventArgs The instance containing the event data.
return string