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)

public FilterAttributeFilterProvider(
	bool cacheAttributeInstances
)

Parameters

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