public HoneypotAttribute(string redirectUrl) { Check.Argument.IsNotNullOrEmpty(redirectUrl, "redirectUrl"); _redirectUrl = redirectUrl; _honeypotService = new HoneypotService(); _manuallyHandleBots = Honeypot.ManuallyHandleBots; }
public HoneypotAttribute(bool manuallyHandleBots) { _redirectUrl = "/"; _honeypotService = new HoneypotService(); _manuallyHandleBots = manuallyHandleBots; }