ModelStateFormatterLogger Constructor
Initializes a new instance of the ModelStateFormatterLogger class.
Namespace: System.Web.Http.Validation
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
modelState As ModelStateDictionary, _
prefix As String _
)
'Usage
Dim modelState As ModelStateDictionary
Dim prefix As String
Dim instance As New ModelStateFormatterLogger(modelState, _
prefix)
public ModelStateFormatterLogger(
ModelStateDictionary modelState,
string prefix
)
public:
ModelStateFormatterLogger(
ModelStateDictionary^ modelState,
String^ prefix
)
new :
modelState:ModelStateDictionary *
prefix:string -> ModelStateFormatterLogger
public function ModelStateFormatterLogger(
modelState : ModelStateDictionary,
prefix : String
)
Parameters
modelState
Type: System.Web.Http.ModelBinding.ModelStateDictionaryThe model state.
prefix
Type: System.StringThe prefix.