コード例 #1
0
        public RawJsonConsumeContext(JsonSerializer deserializer, ReceiveContext receiveContext, JToken messageToken)
            : base(receiveContext)
        {
            _messageToken = messageToken ?? new JObject();

            _deserializer = deserializer;
            _messageTypes = new Dictionary <Type, ConsumeContext>();

            MessageId     = receiveContext.GetMessageId();
            CorrelationId = receiveContext.GetCorrelationId();
            RequestId     = receiveContext.GetRequestId();
        }