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