C# Класс CQRSMicroservices.Application.Deserializer

Наследование: IDeserializer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateCommand ( Newtonsoft.Json.Linq.JObject commandJson ) : Command

You could implement this with reflection or some other deserialize algorithm. For this sample, we explicitly implemented this.

CreateEvent ( Newtonsoft.Json.Linq.JObject eventJson ) : Event

You could implement this with reflection or some other deserialize algorithm. For this sample, we explicitly implemented this.

CreateQuery ( string name, IEnumerable query ) : Query

Описание методов

CreateCommand() публичный Метод

You could implement this with reflection or some other deserialize algorithm. For this sample, we explicitly implemented this.
public CreateCommand ( Newtonsoft.Json.Linq.JObject commandJson ) : Command
commandJson Newtonsoft.Json.Linq.JObject
Результат CQRSMicroservices.Framework.Command

CreateEvent() публичный Метод

You could implement this with reflection or some other deserialize algorithm. For this sample, we explicitly implemented this.
public CreateEvent ( Newtonsoft.Json.Linq.JObject eventJson ) : Event
eventJson Newtonsoft.Json.Linq.JObject
Результат CQRSMicroservices.Framework.Event

CreateQuery() публичный Метод

public CreateQuery ( string name, IEnumerable query ) : Query
name string
query IEnumerable
Результат Query