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