private bool CheckMobileAndCookie(HttpContextBase context)
 {
     if (ContextCondition(context))
     {
         return context.GetOverriddenBrowser().IsMobileDevice;
     }
     return false;
 }
 private static bool IsMobileDisplayModeActive(HttpContextBase httpContext)
 {
     if (httpContext.GetOverriddenBrowser().IsMobileDevice)
     {
         return true;
     }
     var displayChannelService = ServiceLocator.Current.GetInstance<DisplayChannelService>();
     return displayChannelService.GetActiveChannels(httpContext).Any(x => x.ChannelName == MobileChannel.Name);
 }
 public override bool IsActive(HttpContextBase context)
 {
     return context.GetOverriddenBrowser().IsMobileDevice;
 }
		public bool IsMobileDevice(HttpContextBase context)
		{
			return context.Request.Browser.IsMobileDevice || context.GetOverriddenBrowser().IsMobileDevice;
		}
 public static HttpBrowserCapabilitiesBase GetOverriddenBrowser(HttpContextBase httpContext)
 {
     return httpContext.GetOverriddenBrowser();
 }