ValidationEntry Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ValidationEntry(ModelMetadata, String, Func<Object>) |
Creates a new ValidationEntry. |
ValidationEntry(ModelMetadata, String, Object) |
Creates a new ValidationEntry. |
ValidationEntry(ModelMetadata, String, Func<Object>)
- Source:
- ValidationEntry.cs
- Source:
- ValidationEntry.cs
- Source:
- ValidationEntry.cs
Creates a new ValidationEntry.
public:
ValidationEntry(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::String ^ key, Func<System::Object ^> ^ modelAccessor);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, Func<object> modelAccessor);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, Func<object?> modelAccessor);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * string * Func<obj> -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry
Public Sub New (metadata As ModelMetadata, key As String, modelAccessor As Func(Of Object))
Parameters
- metadata
- ModelMetadata
The ModelMetadata associated with the Model.
Applies to
ValidationEntry(ModelMetadata, String, Object)
- Source:
- ValidationEntry.cs
- Source:
- ValidationEntry.cs
- Source:
- ValidationEntry.cs
Creates a new ValidationEntry.
public:
ValidationEntry(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::String ^ key, System::Object ^ model);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object model);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object? model);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * string * obj -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry
Public Sub New (metadata As ModelMetadata, key As String, model As Object)
Parameters
- metadata
- ModelMetadata
The ModelMetadata associated with model
.
- key
- String
The model prefix associated with model
.
- model
- Object
The model object.