IModelNameProvider Interface
.NET Framework (current version)
Provides a way to specify an alternate name to use for model binding instead of using the parameter name.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | GetModelName() | When implemented in a class, gets the model name. |
This interface is implemented by custom value-provider attributes that must have the ability to specify a value-provider key that is different from the parameter name.
.NET Framework
Available since 4.5
Available since 4.5
Show:
