C# Class Appccelerate.DistributedEventBroker.Serializer.DataContractEventArgsSerializer

Serializer which uses the DataContractSerializer to serialize event arguments
Inheritance: IEventArgsSerializer
Datei anzeigen 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