Show / Hide Table of Contents

Interface IEventHubSerializer

Interface for an event hub seriailzer. The default serializer uses Json.

Namespace: AzureFromTheTrenches.Commanding.AzureEventHub
Assembly: AzureFromTheTrenches.Commanding.AzureEventHub.dll
Syntax
public interface IEventHubSerializer

Methods

| Improve this Doc View Source

Serialize(ICommand)

Returns a serialized version of a command

Declaration
string Serialize(ICommand command)
Parameters
Type Name Description
ICommand command

The command to serialize

Returns
Type Description
System.String

Serialized command

| Improve this Doc View Source

Serialize(AuditItem)

Return a serialized verison of an audit item

Declaration
string Serialize(AuditItem auditItem)
Parameters
Type Name Description
AuditItem auditItem

The audit item to serialize

Returns
Type Description
System.String

Serialized audit item

  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall