BeforeFilterAttribute Class

HttpServer.dll

Methods marked with BeforeFilter will be invoked before each request.

Namespace:  HttpServer.Controllers
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public class BeforeFilterAttribute : Attribute
Visual Basic (Declaration)
Public Class BeforeFilterAttribute _
	Inherits Attribute
Visual C++
public ref class BeforeFilterAttribute : public Attribute

Remarks

BeforeFilters should take no arguments and return false if controller method should not be invoked.

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    HttpServer.Controllers..::.BeforeFilterAttribute

See Also