C# Class Appccelerate.DistributedEventBroker.Serializer.DataContractEventArgsSerializer

Serializer which uses the DataContractSerializer to serialize event arguments
Inheritance: IEventArgsSerializer
Afficher le fichier Open project: appccelerate/appccelerate Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat System.EventArgs

Serialize() public méthode

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