示例#1
0
        public MessageHandlerVariableSource(Type messageType)
        {
            MessageType = messageType;

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