Пример #1
0
 protected virtual void OnRuleMatch(PageMatchedContext context)
 {
     _abPageTestResultManager.IncreaseShowTime(context.Site, context.ABPageSetting.UUID, context.MatchedPage.FullName);
     if (this._observers != null)
     {
         foreach (var item in this._observers)
         {
             item.OnMatched(context);
         }
     }
 }
Пример #2
0
 public void OnMatched(PageMatchedContext matchedContext)
 {
     ABPageTestTrackingHelper.SetABTestPageCookie(matchedContext);
 }