首页 > 代码库 > Introducing the Filter Types

Introducing the Filter Types

image

The ActionFilterAttribute class implements both the IActionFilter and IResultFilter
interfaces. This class is abstract, which forces you to provide an implementation. The AuthorizeAttribute and
HandleErrorAttribute classes contain useful features and can be used without creating a derived class.