21 references to Metadata
Microsoft.AspNetCore.Mvc.Razor.Test (19)
RazorPageCreateModelExpressionTest.cs (19)
122Assert.NotNull(modelExpression.Metadata); 123Assert.Equal(ModelMetadataKind.Property, modelExpression.Metadata.MetadataKind); 124Assert.Equal(expectedType, modelExpression.Metadata.ModelType); 141Assert.NotNull(result.Metadata); 142Assert.Equal(typeof(int), result.Metadata.ModelType); 159Assert.NotNull(result.Metadata); 160Assert.Equal(typeof(int), result.Metadata.ModelType); 177Assert.NotNull(result.Metadata); 178Assert.Equal(typeof(int), result.Metadata.ModelType); 195Assert.NotNull(result.Metadata); 196Assert.Equal(typeof(int), result.Metadata.ModelType); 214Assert.NotNull(result.Metadata); 215Assert.Equal(typeof(string), result.Metadata.ModelType); 232Assert.NotNull(result.Metadata); 233Assert.Equal(typeof(string), result.Metadata.ModelType); 250Assert.NotNull(result.Metadata); 251Assert.Equal(typeof(string), result.Metadata.ModelType); 268Assert.NotNull(result.Metadata); 269Assert.Equal(typeof(string), result.Metadata.ModelType);
Microsoft.AspNetCore.Mvc.TagHelpers (2)
InputTagHelper.cs (1)
180var metadata = For.Metadata;
SelectTagHelper.cs (1)
86if (For.Metadata == null)