Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessagePackRemoteInvokeResultMessage" /> class.
 /// </summary>
 /// <param name="message">The message.</param>
 public MessagePackRemoteInvokeResultMessage(RemoteInvokeResultMessage message)
 {
     ExceptionMessage = message.ExceptionMessage;
     Result           = message.Result == null ? null : new DynamicItem(message.Result);
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ParameterItem" /> class.
 /// </summary>
 /// <param name="item">The item.</param>
 public ParameterItem(KeyValuePair <string, object> item)
 {
     Key   = item.Key;
     Value = item.Value == null ? null : new DynamicItem(item.Value);
 }