C# Class EventStore.Core.Services.Transport.Http.AutoEventConverter

Afficher le fichier Open project: EventStore/EventStore Class Usage Examples

Méthodes publiques

Méthode Description
CreateDataDto ( EventStore.Core.Data.ResolvedEvent evnt ) : EventStore.Core.Messages.HttpClientMessageDto.ReadEventCompletedText
SmartFormat ( EventStore.Core.Data.ResolvedEvent evnt, ICodec targetCodec ) : object
SmartParse ( byte request, ICodec sourceCodec, System.Guid includedId, string includedType = null ) : EventStore.Core.Data.Event[]

Private Methods

Méthode Description
AsBytes ( object obj, bool &isJson ) : byte[]
LoadFromJson ( string json ) : EventStore.Core.Messages.HttpClientMessageDto.ClientEventDynamic[]
LoadFromXml ( string xml ) : EventStore.Core.Messages.HttpClientMessageDto.ClientEventDynamic[]
LoadRaw ( byte data, System.Guid includedId, string includedType ) : EventStore.Core.Data.Event[]
LoadRaw ( string data, bool isJson, System.Guid includedId, string includedType ) : EventStore.Core.Data.Event[]
Parse ( HttpClientMessageDto dynamicEvents ) : EventStore.Core.Data.Event[]

Method Details

CreateDataDto() public static méthode

public static CreateDataDto ( EventStore.Core.Data.ResolvedEvent evnt ) : EventStore.Core.Messages.HttpClientMessageDto.ReadEventCompletedText
evnt EventStore.Core.Data.ResolvedEvent
Résultat EventStore.Core.Messages.HttpClientMessageDto.ReadEventCompletedText

SmartFormat() public static méthode

public static SmartFormat ( EventStore.Core.Data.ResolvedEvent evnt, ICodec targetCodec ) : object
evnt EventStore.Core.Data.ResolvedEvent
targetCodec ICodec
Résultat object

SmartParse() public static méthode

public static SmartParse ( byte request, ICodec sourceCodec, System.Guid includedId, string includedType = null ) : EventStore.Core.Data.Event[]
request byte
sourceCodec ICodec
includedId System.Guid
includedType string
Résultat EventStore.Core.Data.Event[]