コード例 #1
0
 public HoneypotAttribute(string redirectUrl)
 {
     Check.Argument.IsNotNullOrEmpty(redirectUrl, "redirectUrl");
     _redirectUrl = redirectUrl;
     _honeypotService = new HoneypotService();
     _manuallyHandleBots = Honeypot.ManuallyHandleBots;
 }
コード例 #2
0
 public HoneypotAttribute(bool manuallyHandleBots)
 {
     _redirectUrl = "/";
     _honeypotService = new HoneypotService();
     _manuallyHandleBots = manuallyHandleBots;
 }