22 references to ParameterName
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\ModelMetadata.cs (3)
146
string.Equals(p.
ParameterName
, metadata.PropertyName, StringComparison.Ordinal)
673
string.Equals(p.Name, parameter.
ParameterName
, StringComparison.Ordinal) &&
801
return $"ModelMetadata (Parameter: '{
ParameterName
}' Type: '{ModelType.Name}')";
Microsoft.AspNetCore.Mvc.Abstractions.Test (3)
ModelBinding\ModelMetadataTest.cs (3)
288
Assert.Null(metadata.
ParameterName
);
302
Assert.Equal("item", metadata.
ParameterName
);
315
Assert.Null(metadata.
ParameterName
);
Microsoft.AspNetCore.Mvc.Core (16)
BindAttribute.cs (1)
70
return Include.Contains(modelMetadata.
ParameterName
, StringComparer.Ordinal);
ModelBinding\Binders\ComplexObjectModelBinder.cs (4)
200
metadata.
ParameterName
));
241
var fieldName = parameter.BinderModelName ?? parameter.
ParameterName
!;
303
var fieldName = parameter.BinderModelName ?? parameter.
ParameterName
!;
631
var fieldName = parameterMetadata.BinderModelName ?? parameterMetadata.
ParameterName
!;
ModelBinding\Binders\ComplexTypeModelBinder.cs (1)
489
metadata.
ParameterName
));
ModelBinding\ModelBinderFactory.cs (1)
311
return $"{_token} (Parameter: '{_metadata.
ParameterName
}' Type: '{_metadata.ModelType.Name}')";
ModelBinding\ParameterBinder.Log.cs (5)
28
AttemptingToBindParameter(logger, modelMetadata.
ParameterName
, modelMetadata.ModelType);
74
DoneAttemptingToBindParameter(logger, modelMetadata.
ParameterName
, modelMetadata.ModelType);
120
AttemptingToValidateParameter(logger, modelMetadata.
ParameterName
, modelMetadata.ModelType);
169
modelMetadata.
ParameterName
,
219
modelMetadata.
ParameterName
);
ModelBinding\Validation\DefaultComplexObjectValidationStrategy.cs (1)
87
var parameterName = parameter.BinderModelName ?? parameter.
ParameterName
;
MvcCoreLoggerExtensions.cs (3)
127
modelMetadata.
ParameterName
,
181
modelMetadata.
ParameterName
,
221
modelMetadata.
ParameterName
,