Partager via


FilterAttributeFilterProvider Constructor (Boolean)

Initializes a new instance of the FilterAttributeFilterProvider class and optionally caches attribute instances.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Sub New ( _
    cacheAttributeInstances As Boolean _
)
'Usage
Dim cacheAttributeInstances As Boolean

Dim instance As New FilterAttributeFilterProvider(cacheAttributeInstances)
public FilterAttributeFilterProvider(
    bool cacheAttributeInstances
)
public:
FilterAttributeFilterProvider(
    bool cacheAttributeInstances
)
public function FilterAttributeFilterProvider(
    cacheAttributeInstances : boolean
)

Parameters

  • cacheAttributeInstances
    Type: System.Boolean
    true to cache attribute instances; otherwise, false.

See Also

Reference

FilterAttributeFilterProvider Class

FilterAttributeFilterProvider Overload

System.Web.Mvc Namespace