public static TResult Context <TResult>(this IServiceBus bus, Func <IConsumeContext, TResult> contextCallback) { return(ContextStorage.Context(contextCallback)); }
public static void Context(this IServiceBus bus, Action <IConsumeContext> contextCallback) { ContextStorage.Context(contextCallback); }
public static IConsumeContext <T> MessageContext <T>(this IServiceBus bus) where T : class { return(ContextStorage.MessageContext <T>()); }
public static IConsumeContext <T> MessageContext <T>(this Consumes <T> .All instance) where T : class { return(ContextStorage.MessageContext <T>()); }
public static IConsumeContext Context(this IServiceBus bus) { return(ContextStorage.Context()); }
public static IConsumeContext Context(this IConsumer instance) { return(ContextStorage.Context()); }