1 write to Value
Microsoft.Extensions.Localization.Abstractions (1)
LocalizedString.cs (1)
49Value = value;
19 references to Value
Microsoft.AspNetCore.Mvc.Localization (2)
HtmlLocalizer.cs (2)
74new LocalizedHtmlString(result.Name, result.Value, result.ResourceNotFound); 82new LocalizedHtmlString(result.Name, result.Value, result.ResourceNotFound, arguments);
Microsoft.AspNetCore.Mvc.Localization.Test (14)
HtmlLocalizerTest.cs (7)
29Assert.Equal(localizedString.Value, actualLocalizedHtmlString.Value); 48Assert.Equal(localizedString.Value, actualLocalizedHtmlString.Value); 168Assert.Equal("Hello John", actualLocalizedString.Value); 183Assert.Equal("Hello John Doe", actualLocalizedString.Value); 229Assert.Equal("World", allLocalizedStrings.First().Value); 245Assert.Equal("World", allLocalizedStrings[0].Value); 246Assert.Equal("Bar", allLocalizedStrings[1].Value);
ViewLocalizerTest.cs (7)
136Assert.Equal("World", allLocalizedStrings.First().Value); 161Assert.Equal("World", allLocalizedStrings[0].Value); 162Assert.Equal("Bar", allLocalizedStrings[1].Value); 186Assert.Equal("Hello John", actualLocalizedString.Value); 210Assert.Equal("Hello John Doe", actualLocalizedString.Value); 301localizedString.Value, 313localizedString.Value,
Microsoft.Extensions.Localization.Abstractions (2)
LocalizedString.cs (2)
61return localizedString?.Value; 88public override string ToString() => Value;
Microsoft.Extensions.Localization.Tests (1)
ResourceManagerStringLocalizerTest.cs (1)
170Assert.Equal("TestName", value.Value);