1 write to SearchedLocations
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewEngines\ViewEngineResult.cs (1)
58
SearchedLocations
= searchedLocations,
45 references to SearchedLocations
Microsoft.AspNetCore.Mvc.Razor.Test (5)
RazorViewEngineTest.cs (5)
271
}, result.
SearchedLocations
);
291
}, result.
SearchedLocations
);
983
Assert.Equal(expandedLocations, result.
SearchedLocations
);
991
Assert.Equal(expandedLocations, result.
SearchedLocations
);
1042
Assert.Equal(expandedLocations, result.
SearchedLocations
);
Microsoft.AspNetCore.Mvc.TagHelpers (4)
PartialTagHelper.cs (4)
113
var viewSearchedLocations = result.
SearchedLocations
;
133
locations = Environment.NewLine + string.Join(Environment.NewLine, result.
SearchedLocations
);
183
var getViewLocations = viewEngineResult.
SearchedLocations
;
191
var searchedLocations = Enumerable.Concat(getViewLocations, viewEngineResult.
SearchedLocations
);
Microsoft.AspNetCore.Mvc.ViewFeatures (24)
HtmlHelper.cs (3)
516
var originalLocations = viewEngineResult.
SearchedLocations
;
530
if (viewEngineResult.
SearchedLocations
.Any())
533
Environment.NewLine + string.Join(Environment.NewLine, viewEngineResult.
SearchedLocations
);
PartialViewResultExecutor.cs (6)
81
if (originalResult.
SearchedLocations
.Any())
83
if (result.
SearchedLocations
.Any())
86
var locations = new List<string>(originalResult.
SearchedLocations
);
87
locations.AddRange(result.
SearchedLocations
);
115
searchedLocations: result.
SearchedLocations
);
116
Log.PartialViewNotFound(Logger, viewName, result.
SearchedLocations
);
ViewComponents\ViewViewComponentResult.cs (1)
82
originalLocations = result.
SearchedLocations
;
ViewEngines\CompositeViewEngine.cs (5)
59
searchedLocations = result.
SearchedLocations
;
70
searchedList.AddRange(result.
SearchedLocations
);
104
searchedLocations = result.
SearchedLocations
;
115
if (result.
SearchedLocations
is not null)
117
searchedList.AddRange(result.
SearchedLocations
);
ViewEngines\ViewEngineResult.cs (3)
83
/// Additional <see cref="
SearchedLocations
"/> to include in the thrown <see cref="InvalidOperationException"/>
101
if (
SearchedLocations
.Any())
103
locations += Environment.NewLine + string.Join(Environment.NewLine,
SearchedLocations
);
ViewResultExecutor.cs (6)
82
if (originalResult.
SearchedLocations
.Any())
84
if (result.
SearchedLocations
.Any())
87
var locations = new List<string>(originalResult.
SearchedLocations
);
88
locations.AddRange(result.
SearchedLocations
);
110
Log.ViewNotFound(Logger, viewName, result.
SearchedLocations
);
134
searchedLocations: result.
SearchedLocations
);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (12)
PartialViewResultExecutorTest.cs (3)
132
Assert.Equal(expectedLocations, result.
SearchedLocations
);
167
Assert.Equal(expectedLocations, result.
SearchedLocations
);
202
Assert.Equal(expectedLocations, result.
SearchedLocations
);
ViewEngines\CompositeViewEngineTest.cs (6)
67
Assert.Equal(new[] { "controller/test-view" }, result.
SearchedLocations
);
156
Assert.Equal(new[] { "1", "2", "3", "4", "5" }, result.
SearchedLocations
);
199
Assert.Equal(new[] { expectedViewName }, result.
SearchedLocations
);
297
Assert.Equal(new[] { "1", "2", "3", "4", "5" }, result.
SearchedLocations
);
334
Assert.Equal(new[] { "Shared/partial-view" }, result.
SearchedLocations
);
423
Assert.Equal(new[] { "1", "2", "3", "4", "5" }, result.
SearchedLocations
);
ViewResultExecutorTest.cs (3)
130
Assert.Equal(expectedLocations, result.
SearchedLocations
);
164
Assert.Equal(expectedLocations, result.
SearchedLocations
);
198
Assert.Equal(expectedLocations, result.
SearchedLocations
);