C# Class Composable.CQRS.EventSourcing.MicrosoftSQLServer.SqlServerEvestStoreEventSerializer

Show file Open project: mlidbom/Composable.Monolithic Class Usage Examples

Public Properties

Property Type Description
JsonSettings Newtonsoft.Json.JsonSerializerSettings

Public Methods

Method Description
Deserialize ( Type eventType, string eventData ) : IAggregateRootEvent
Serialize ( object @event ) : string

Method Details

Deserialize() public method

public Deserialize ( Type eventType, string eventData ) : IAggregateRootEvent
eventType System.Type
eventData string
return IAggregateRootEvent

Serialize() public method

public Serialize ( object @event ) : string
@event object
return string

Property Details

JsonSettings public static property

public static JsonSerializerSettings,Newtonsoft.Json JsonSettings
return Newtonsoft.Json.JsonSerializerSettings