4 instantiations of HiddenModel
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
13 references to HiddenModel
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (13)
Rendering\HtmlHelperHiddenTest.cs (13)
761public static TheoryData<Expression<Func<HiddenModel, string>>, string> HiddenFor_UsesPropertyValueIfModelStateDoesNotContainValueData
765var localModel = new HiddenModel();
767return new TheoryData<Expression<Func<HiddenModel, string>>, string>
796Expression<Func<HiddenModel, string>> expression,
822public static TheoryData<Expression<Func<HiddenModel, string>>, string> HiddenFor_UsesModelStateValueForComplexExpressionsData
826return new TheoryData<Expression<Func<HiddenModel, string>>, string>
850Expression<Func<HiddenModel, string>> expression,
942private static ViewDataDictionary<HiddenModel> GetViewDataWithNullModelAndNonNullViewData()
944return new ViewDataDictionary<HiddenModel>(new EmptyModelMetadataProvider())
950private static ViewDataDictionary<HiddenModel> GetViewDataWithNonNullModel()
952var viewData = new ViewDataDictionary<HiddenModel>(new EmptyModelMetadataProvider())
960private static ViewDataDictionary<HiddenModel> GetViewDataWithModelStateAndModelAndViewDataValues()
969private static ViewDataDictionary<HiddenModel> GetViewDataWithErrors()