Beispiel #1
0
 public static IConsumeContext <T> MessageContext <T>(this IServiceBus bus)
     where T : class
 {
     return(ContextStorage.MessageContext <T>());
 }
Beispiel #2
0
 public static IConsumeContext <T> MessageContext <T>(this Consumes <T> .All instance)
     where T : class
 {
     return(ContextStorage.MessageContext <T>());
 }