4 references to SetModelPublic
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
ViewDataDictionaryTest.cs (4)
79viewData.SetModelPublic(model); 103viewData.SetModelPublic(model); 141var exception = Assert.Throws<InvalidOperationException>(() => viewData.SetModelPublic(model)); 402var exception = Assert.Throws<InvalidOperationException>(() => viewData.SetModelPublic(value: null));