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