public static void AssignMessageHelpers <C>(this AzureClientHolder <C, EventData> client)
     where C : ClientEntity
 {
     client.MessagePack   = Pack;
     client.MessageUnpack = Unpack;
     client.MessageSignal = MessageSignal;
 }
Beispiel #2
0
 /// <summary>
 /// This extension method set the Pack, Unpack and Signal functions for Azure Service Bus support.
 /// </summary>
 /// <typeparam name="C">The Client Entity type.</typeparam>
 /// <param name="client">The client to set.</param>
 public static void AssignMessageHelpers <C>(this AzureClientHolder <C, Microsoft.Azure.ServiceBus.Message> client)
     where C : ClientEntity
 {
     client.MessagePack   = Pack;
     client.MessageUnpack = Unpack;
     client.MessageSignal = MessageSignal;
 }