75 references to Success
Microsoft.AspNetCore.Mvc.Razor.Test (33)
RazorViewEngineTest.cs (33)
78Assert.False(result.Success); 94Assert.False(result.Success); 110Assert.False(result.Success); 125Assert.False(result.Success); 156Assert.True(result.Success); 188Assert.True(result1.Success); 199Assert.True(result2.Success); 233Assert.False(result.Success); 249Assert.False(result.Success); 265Assert.False(result.Success); 287Assert.False(result.Success); 322Assert.True(result.Success); 382Assert.True(result.Success); 408Assert.True(result.Success); 434Assert.True(result.Success); 462Assert.True(result.Success); 490Assert.True(result.Success); 518Assert.True(result.Success); 714Assert.True(result.Success); 782Assert.True(result.Success); 815Assert.True(result.Success); 842Assert.True(result1.Success); 855Assert.True(result2.Success); 879Assert.True(result1.Success); 892Assert.True(result2.Success); 930Assert.True(result1.Success); 939Assert.True(result2.Success); 982Assert.False(result.Success); 990Assert.False(result.Success); 1041Assert.False(result.Success); 1053Assert.True(result.Success); 2001Assert.True(result.Success); 2019Assert.True(result.Success);
Microsoft.AspNetCore.Mvc.TagHelpers (4)
PartialTagHelper.cs (4)
115if (!result.Success && !string.IsNullOrEmpty(FallbackName)) 120if (!result.Success) 184if (!viewEngineResult.Success) 189if (!viewEngineResult.Success)
Microsoft.AspNetCore.Mvc.ViewFeatures (18)
HtmlHelper.cs (2)
517if (!viewEngineResult.Success) 522if (!viewEngineResult.Success)
PartialViewResultExecutor.cs (3)
73if (!result.Success) 79if (!result.Success) 98if (result.Success)
TemplateRenderer.cs (2)
107if (!viewEngineResult.Success) 113if (viewEngineResult.Success)
ViewComponents\ViewViewComponentResult.cs (1)
85if (result == null || !result.Success)
ViewEngines\CompositeViewEngine.cs (2)
47if (result.Success) 96if (result.Success)
ViewEngines\ViewEngineResult.cs (4)
84/// if <see cref="Success"/> is <c>false</c>. 87/// Thrown if <see cref="Success"/> is <c>false</c>. 89/// <returns>This <see cref="ViewEngineResult"/> if <see cref="Success"/> is <c>true</c>.</returns> 93if (!Success)
ViewResultExecutor.cs (4)
74if (!result.Success) 80if (!result.Success) 104if (result.Success) 118if (result.Success)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (20)
PartialViewResultExecutorTest.cs (4)
130Assert.False(result.Success); 165Assert.False(result.Success); 200Assert.False(result.Success); 271Assert.False(viewEngineResult.Success);
ViewEngines\CompositeViewEngineTest.cs (12)
66Assert.False(result.Success); 88Assert.True(result.Success); 122Assert.True(result.Success); 155Assert.False(result.Success); 198Assert.False(result.Success); 223Assert.True(result.Success); 260Assert.True(result.Success); 296Assert.False(result.Success); 333Assert.False(result.Success); 355Assert.True(result.Success); 389Assert.True(result.Success); 422Assert.False(result.Success);
ViewResultExecutorTest.cs (4)
128Assert.False(result.Success); 162Assert.False(result.Success); 196Assert.False(result.Success); 266Assert.False(viewEngineResult.Success);