C# Class EventStore.Core.Tests.Services.Transport.Http.FakeRequest

Mostrar archivo Open project: EventStore/EventStore Class Usage Examples

Private Properties

Property Type Description
WrapIntoQuotes string

Public Methods

Method Description
AsString ( byte bytes ) : string
GetJsonEventReadResult ( EventStore.Core.Data.ResolvedEvent evnt, bool dataJson = true, bool metadataJson = true ) : string
GetJsonEventsReadResult ( IEnumerable events, bool dataJson = true, bool metadataJson = true ) : string
GetJsonWrite ( ) : string
GetJsonWrite ( string data, string metadata ) : string
GetXmlEventReadResult ( EventStore.Core.Data.ResolvedEvent evnt, bool dataJson = true, bool metadataJson = true ) : string
GetXmlEventsReadResult ( IEnumerable events, bool dataJson = true, bool metadataJson = true ) : string
GetXmlWrite ( ) : string
GetXmlWrite ( string data, string metadata ) : string

Private Methods

Method Description
WrapIntoQuotes ( string s ) : string

Method Details

AsString() public static method

public static AsString ( byte bytes ) : string
bytes byte
return string

GetJsonEventReadResult() public static method

public static GetJsonEventReadResult ( EventStore.Core.Data.ResolvedEvent evnt, bool dataJson = true, bool metadataJson = true ) : string
evnt EventStore.Core.Data.ResolvedEvent
dataJson bool
metadataJson bool
return string

GetJsonEventsReadResult() public static method

public static GetJsonEventsReadResult ( IEnumerable events, bool dataJson = true, bool metadataJson = true ) : string
events IEnumerable
dataJson bool
metadataJson bool
return string

GetJsonWrite() public static method

public static GetJsonWrite ( ) : string
return string

GetJsonWrite() public static method

public static GetJsonWrite ( string data, string metadata ) : string
data string
metadata string
return string

GetXmlEventReadResult() public static method

public static GetXmlEventReadResult ( EventStore.Core.Data.ResolvedEvent evnt, bool dataJson = true, bool metadataJson = true ) : string
evnt EventStore.Core.Data.ResolvedEvent
dataJson bool
metadataJson bool
return string

GetXmlEventsReadResult() public static method

public static GetXmlEventsReadResult ( IEnumerable events, bool dataJson = true, bool metadataJson = true ) : string
events IEnumerable
dataJson bool
metadataJson bool
return string

GetXmlWrite() public static method

public static GetXmlWrite ( ) : string
return string

GetXmlWrite() public static method

public static GetXmlWrite ( string data, string metadata ) : string
data string
metadata string
return string