Beispiel #1
0
 /// <summary>
 /// Deserializes message content
 /// </summary>
 public object Deserialize(Type type, IMessageContentSerializer serializer)
 {
     return(serializer.Deserialize(this, type));
 }
Beispiel #2
0
 /// <summary>
 /// Deserializes message content
 /// </summary>
 public TModel Deserialize <TModel>(IMessageContentSerializer serializer)
 {
     return((TModel)serializer.Deserialize(this, typeof(TModel)));
 }