Method | Description | |
---|---|---|
OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void |
Called when a process requests authorization.
|
|
SpamProtectionAttribute ( ) : System |
Initializes a new instance of the SpamProtectionAttribute class.
|
|
SpamProtectionAttribute ( int timespan ) : System |
Initializes a new instance of the SpamProtectionAttribute class.
|
public OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void | ||
filterContext | System.Web.Mvc.AuthorizationContext | The filter context. |
return | void |
public SpamProtectionAttribute ( int timespan ) : System | ||
timespan | int | The he minimum timespan between GET- and POST-request. |
return | System |