5 writes to Values
Microsoft.AspNetCore.Mvc.Razor (1)
RazorViewEngine.cs (1)
245
expanderContext.
Values
= expanderValues;
Microsoft.AspNetCore.Mvc.Razor.Test (3)
LanguageViewLocationExpanderTest.cs (3)
141
viewLocationExpanderContext.
Values
= new Dictionary<string, string>();
166
viewLocationExpanderContext.
Values
= new Dictionary<string, string>();
194
viewLocationExpanderContext.
Values
= new Dictionary<string, string>();
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageViewLocationExpanderTest.cs (1)
216
Values
= new Dictionary<string, string>(),
13 references to Values
Microsoft.AspNetCore.Mvc.Razor (2)
LanguageViewLocationExpander.cs (2)
48
context.
Values
[ValueKey] = CultureInfo.CurrentUICulture.Name;
59
context.
Values
.TryGetValue(ValueKey, out var value);
Microsoft.AspNetCore.Mvc.Razor.Test (10)
LanguageViewLocationExpanderTest.cs (2)
142
viewLocationExpanderContext.
Values
["language"] = "en-GB";
195
viewLocationExpanderContext.
Values
["language"] = "!-invalid-culture-!";
RazorViewEngineTest.cs (8)
678
c.
Values
["expander-key"] = expander1.ToString();
746
c.
Values
["expander-key"] = expander1.ToString();
963
expanderContext.
Values
["somekey"] = "somevalue";
1022
expanderContext.
Values
["somekey"] = "somevalue";
1162
c.
Values
["expander-key"] = expander.ToString();
1174
Assert.Equal(expander.ToString(), c.
Values
["expander-key"]);
1221
c.
Values
["expander-key"] = expander.ToString();
1233
Assert.Equal(expander.ToString(), c.
Values
["expander-key"]);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageViewLocationExpanderTest.cs (1)
23
Assert.Empty(context.
Values
);