Exemplo n.º 1
0
 public void Handle(UmbracoRequestEndNotification notification)
 {
     if (IsEnabled && _mainDom.IsMainDom)
     {
         GenerateModelsIfRequested();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Clear the batch on end request
 /// </summary>
 public void Handle(UmbracoRequestEndNotification notification) => _messenger?.SendMessages();