Esempio n. 1
0
 /// <summary>
 /// Register an event handler that will listen and respond to events.
 /// </summary>
 /// <remarks>
 /// In many cases the <paramref name="targetedType"/> will be the handler class itself, what you actually want is the target of what is being updated.
 /// </remarks>
 public virtual void RegisterHandler <TMessage>(Action <TMessage> handler, Type targetedType, bool holdMessageLock = true)
     where TMessage : IMessage
 {
     AzureBusHelper.RegisterHandler(TelemetryHelper, Routes, handler, targetedType, holdMessageLock);
 }