Пример #1
0
 public static T GetPayload <T>(this IncomingMessage messageWithPayload)
 {
     return((T)messageWithPayload.GetPayload(typeof(T)));
 }