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