public MessageHandlerVariableSource(Type messageType)
        {
            MessageType = messageType;

            Envelope = new Variable(typeof(Envelope), $"{HandlerGraph.Context}.{nameof(IMessageContext.Envelope)}");
            Message  = new MessageVariable(Envelope, messageType);
        }
示例#2
0
 public MessageFrame(MessageVariable message, Variable envelope) : base(false)
 {
     _message  = message;
     _envelope = envelope;
 }