21 references to PropertyOfModel
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (21)
Rendering\HtmlHelperSelectTest.cs (21)
71
new SelectListItem { Text = SelectSources.
PropertyOfModel
.ToString() },
428
viewData.Model = new ModelContainingSources { Property1 = SelectSources.
PropertyOfModel
};
465
viewData.Model = new ModelContainingSources { Property1 = SelectSources.
PropertyOfModel
};
491
viewData.Model = new ModelContainingSources { Property1 = SelectSources.
PropertyOfModel
};
518
viewData.Model = new ModelContainingSources { Property1 = SelectSources.
PropertyOfModel
};
545
viewData.Model = new ModelContainingSources { Property1 = SelectSources.
PropertyOfModel
};
562
var expectedHtml = GetExpectedSelectElement(SelectSources.
PropertyOfModel
, allowMultiple: false);
563
var model = new ModelContainingSources { Property1 = SelectSources.
PropertyOfModel
};
578
var expectedHtml = GetExpectedSelectElementWithPrefix(SelectSources.
PropertyOfModel
, allowMultiple: false);
579
var model = new ModelContainingSources { Property1 = SelectSources.
PropertyOfModel
};
831
viewData.Model = new ModelContainingListOfSources { Property1 = { SelectSources.
PropertyOfModel
} };
868
viewData.Model = new ModelContainingListOfSources { Property1 = { SelectSources.
PropertyOfModel
} };
894
viewData.Model = new ModelContainingListOfSources { Property1 = { SelectSources.
PropertyOfModel
} };
921
viewData.Model = new ModelContainingListOfSources { Property1 = { SelectSources.
PropertyOfModel
} };
948
viewData.Model = new ModelContainingListOfSources { Property1 = { SelectSources.
PropertyOfModel
} };
965
var expectedHtml = GetExpectedSelectElement(SelectSources.
PropertyOfModel
, allowMultiple: true);
966
var model = new ModelContainingListOfSources { Property1 = { SelectSources.
PropertyOfModel
} };
981
var expectedHtml = GetExpectedSelectElementWithPrefix(SelectSources.
PropertyOfModel
, allowMultiple: true);
982
var model = new ModelContainingListOfSources { Property1 = { SelectSources.
PropertyOfModel
} };
1518
$"{ GetOption(SelectSources.
PropertyOfModel
, source) }{ Environment.NewLine }" +
1533
$"{ GetOption(SelectSources.
PropertyOfModel
, source) }{ Environment.NewLine }" +