5 instantiations of Model
Microsoft.AspNetCore.Mvc.TagHelpers.Test (5)
InputTagHelperTest.cs (5)
565var modelWithNull = new Model 573var modelWithText = new Model 710var container = new Model 781var container = new Model 2378container: new Model(),
34 references to Model
Microsoft.AspNetCore.Mvc.TagHelpers.Test (34)
InputTagHelperTest.cs (34)
99var tagHelper = GetTagHelper(htmlGenerator, model: false, propertyName: nameof(Model.IsACar)); 146var tagHelper = GetTagHelper(htmlGenerator, model: possibleBool, propertyName: nameof(Model.IsACar)); 193var tagHelper = GetTagHelper(htmlGenerator, model: possibleBool, propertyName: nameof(Model.IsACar)); 237var tagHelper = GetTagHelper(htmlGenerator, model: possibleBool, propertyName: nameof(Model.IsACar)); 565var modelWithNull = new Model 573var modelWithText = new Model 581var models = new List<Model> 589{ null, typeof(Model), null, new NameAndId("Text", "Text"), 592{ modelWithNull, typeof(Model), modelWithNull.Text, new NameAndId("Text", "Text"), 594{ modelWithText, typeof(Model), modelWithText.Text, new NameAndId("Text", "Text"), 602{ models, typeof(Model), models[0].Text, 604{ models, typeof(Model), models[1].Text, 679propertyName: nameof(Model.Text), 710var container = new Model 746typeof(Model), 748propertyName: nameof(Model.DateTimeOffset), 749expressionName: nameof(Model.DateTimeOffset)); 775{ "id", nameof(Model.DateTime) }, 776{ "name", nameof(Model.DateTime) }, 781var container = new Model 817typeof(Model), 819propertyName: nameof(Model.DateTime), 820expressionName: nameof(Model.DateTime)); 1179var tagHelper = GetTagHelper(htmlGenerator.Object, model: false, propertyName: nameof(Model.IsACar)); 1279metadataProvider.ForProperty<Model>("Text").DisplayDetails(dd => dd.DataTypeName = dataTypeName); 1285nameof(Model.Text), 1445metadataProvider.ForProperty<Model>("Text").DisplayDetails(dd => dd.DataTypeName = dataTypeName); 1451nameof(Model.Text), 1545var tagHelper = GetTagHelper(htmlGenerator.Object, model, nameof(Model.Text)); 1657metadataProvider.ForProperty<Model>("Text").DisplayDetails(dd => dd.DataTypeName = dataTypeName); 1663nameof(Model.Text), 1772metadataProvider.ForProperty<Model>("Text").DisplayDetails(dd => dd.DataTypeName = dataTypeName); 1778propertyName: nameof(Model.Text), 2379containerType: typeof(Model),