C# 클래스 CQRSMicroservices.Application.Deserializer

상속: IDeserializer
파일 보기 프로젝트 열기: AFASResearch/CQRS-Playground 1 사용 예제들

공개 메소드들

메소드 설명
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