Метод | Описание | |
---|---|---|
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. |
Результат | void |
public SpamProtectionAttribute ( ) : System | ||
Результат | System |
public SpamProtectionAttribute ( int timespan ) : System | ||
timespan | int | The he minimum timespan between GET- and POST-request. |
Результат | System |