Ejemplo n.º 1
0
 /// <summary>
 /// An event handler called when the current request starts, and the notification box is displayed.
 /// </summary>
 /// <param name="state">The request state.</param>
 protected virtual void OnRequestStarted(RequestState state)
 {
     // If the request state is not null.
     if (null != state)
     {
         // If the delegate for this method is not null.
         if (null != state.ActionRequestStarted)
         {
             // Call the delegate.
             state.ActionRequestStarted(state);
         }
     }
 }