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