Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessageExpression"/> class.
 /// </summary>
 /// <param name="payload">The type of payload.</param>
 /// <param name="expression">The expression.</param>
 public MessageExpression(MessageExpressionPayloads payload, byte[] expression)
 {
     SerializedExpression = expression;
     PayLoad = payload;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessageExpression" /> class.
 /// </summary>
 /// <param name="payload">The type of payload.</param>
 /// <param name="method">The method.</param>
 public MessageExpression(MessageExpressionPayloads payload, Expression <Action <IReceivedMessage <MessageExpression>, IWorkerNotification> > method)
 {
     Method  = method;
     PayLoad = payload;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessageExpression"/> class.
 /// </summary>
 /// <param name="payload">The type of payload.</param>
 /// <param name="expression">The expression.</param>
 public MessageExpression(MessageExpressionPayloads payload, byte[] expression)
 {
     SerializedExpression = expression;
     PayLoad = payload;
 }