Skip to main content

TokenBoxExtension(TokenBoxSettings, ViewContext, ModelMetadata) Constructor

Initializes a new instance of the TokenBoxExtension class with the specified settings, the context information about the view, and the model metadata.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public TokenBoxExtension(
    TokenBoxSettings settings,
    ViewContext viewContext,
    ModelMetadata metadata
)

Parameters

Name Type Description
settings TokenBoxSettings

An object containing extension specific settings.

viewContext ViewContext

A ViewContext object that is the view context.

metadata ModelMetadata

The System.Web.Mvc.ModelMetadata object that is the model metadata.

See Also