1 <?xml version="1.0"?>
\r
4 <name>Microsoft.Extensions.Localization.Abstractions</name>
\r
7 <member name="T:Microsoft.Extensions.Localization.IStringLocalizer">
\r
9 Represents a service that provides localized strings.
\r
12 <member name="P:Microsoft.Extensions.Localization.IStringLocalizer.Item(System.String)">
\r
14 Gets the string resource with the given name.
\r
16 <param name="name">The name of the string resource.</param>
\r
17 <returns>The string resource as a <see cref="T:Microsoft.Extensions.Localization.LocalizedString"/>.</returns>
\r
19 <member name="P:Microsoft.Extensions.Localization.IStringLocalizer.Item(System.String,System.Object[])">
\r
21 Gets the string resource with the given name and formatted with the supplied arguments.
\r
23 <param name="name">The name of the string resource.</param>
\r
24 <param name="arguments">The values to format the string with.</param>
\r
25 <returns>The formatted string resource as a <see cref="T:Microsoft.Extensions.Localization.LocalizedString"/>.</returns>
\r
27 <member name="M:Microsoft.Extensions.Localization.IStringLocalizer.GetAllStrings(System.Boolean)">
\r
29 Gets all string resources.
\r
31 <param name="includeParentCultures">
\r
32 A <see cref="T:System.Boolean"/> indicating whether to include strings from parent cultures.
\r
34 <returns>The strings.</returns>
\r
36 <member name="T:Microsoft.Extensions.Localization.IStringLocalizerFactory">
\r
38 Represents a factory that creates <see cref="T:Microsoft.Extensions.Localization.IStringLocalizer"/> instances.
\r
41 <member name="M:Microsoft.Extensions.Localization.IStringLocalizerFactory.Create(System.Type)">
\r
43 Creates an <see cref="T:Microsoft.Extensions.Localization.IStringLocalizer"/> using the <see cref="T:System.Reflection.Assembly"/> and
\r
44 <see cref="P:System.Type.FullName"/> of the specified <see cref="T:System.Type"/>.
\r
46 <param name="resourceSource">The <see cref="T:System.Type"/>.</param>
\r
47 <returns>The <see cref="T:Microsoft.Extensions.Localization.IStringLocalizer"/>.</returns>
\r
49 <member name="M:Microsoft.Extensions.Localization.IStringLocalizerFactory.Create(System.String,System.String)">
\r
51 Creates an <see cref="T:Microsoft.Extensions.Localization.IStringLocalizer"/>.
\r
53 <param name="baseName">The base name of the resource to load strings from.</param>
\r
54 <param name="location">The location to load resources from.</param>
\r
55 <returns>The <see cref="T:Microsoft.Extensions.Localization.IStringLocalizer"/>.</returns>
\r
57 <member name="T:Microsoft.Extensions.Localization.IStringLocalizer`1">
\r
59 Represents an <see cref="T:Microsoft.Extensions.Localization.IStringLocalizer"/> that provides strings for <typeparamref name="T"/>.
\r
61 <typeparam name="T">The <see cref="T:System.Type"/> to provide strings for.</typeparam>
\r
63 <member name="T:Microsoft.Extensions.Localization.LocalizedString">
\r
65 A locale specific string.
\r
68 <member name="M:Microsoft.Extensions.Localization.LocalizedString.#ctor(System.String,System.String)">
\r
70 Creates a new <see cref="T:Microsoft.Extensions.Localization.LocalizedString"/>.
\r
72 <param name="name">The name of the string in the resource it was loaded from.</param>
\r
73 <param name="value">The actual string.</param>
\r
75 <member name="M:Microsoft.Extensions.Localization.LocalizedString.#ctor(System.String,System.String,System.Boolean)">
\r
77 Creates a new <see cref="T:Microsoft.Extensions.Localization.LocalizedString"/>.
\r
79 <param name="name">The name of the string in the resource it was loaded from.</param>
\r
80 <param name="value">The actual string.</param>
\r
81 <param name="resourceNotFound">Whether the string was not found in a resource. Set this to <c>true</c> to indicate an alternate string value was used.</param>
\r
83 <member name="M:Microsoft.Extensions.Localization.LocalizedString.#ctor(System.String,System.String,System.Boolean,System.String)">
\r
85 Creates a new <see cref="T:Microsoft.Extensions.Localization.LocalizedString"/>.
\r
87 <param name="name">The name of the string in the resource it was loaded from.</param>
\r
88 <param name="value">The actual string.</param>
\r
89 <param name="resourceNotFound">Whether the string was not found in a resource. Set this to <c>true</c> to indicate an alternate string value was used.</param>
\r
90 <param name="searchedLocation">The location which was searched for a localization value.</param>
\r
92 <member name="M:Microsoft.Extensions.Localization.LocalizedString.op_Implicit(Microsoft.Extensions.Localization.LocalizedString)~System.String">
\r
94 Implicitly converts the <see cref="T:Microsoft.Extensions.Localization.LocalizedString"/> to a <see cref="T:System.String"/>.
\r
96 <param name="localizedString">The string to be implicitly converted.</param>
\r
98 <member name="P:Microsoft.Extensions.Localization.LocalizedString.Name">
\r
100 The name of the string in the resource it was loaded from.
\r
103 <member name="P:Microsoft.Extensions.Localization.LocalizedString.Value">
\r
108 <member name="P:Microsoft.Extensions.Localization.LocalizedString.ResourceNotFound">
\r
110 Whether the string was not found in a resource. If <c>true</c>, an alternate string value was used.
\r
113 <member name="P:Microsoft.Extensions.Localization.LocalizedString.SearchedLocation">
\r
115 The location which was searched for a localization value.
\r
118 <member name="M:Microsoft.Extensions.Localization.LocalizedString.ToString">
\r
120 Returns the actual string.
\r
122 <returns>The actual string.</returns>
\r
124 <member name="T:Microsoft.Extensions.Localization.StringLocalizerExtensions">
\r
126 Extension methods for operating on <see cref="T:Microsoft.Extensions.Localization.IStringLocalizer" /> instances.
\r
129 <member name="M:Microsoft.Extensions.Localization.StringLocalizerExtensions.GetString(Microsoft.Extensions.Localization.IStringLocalizer,System.String)">
\r
131 Gets the string resource with the given name.
\r
133 <param name="stringLocalizer">The <see cref="T:Microsoft.Extensions.Localization.IStringLocalizer"/>.</param>
\r
134 <param name="name">The name of the string resource.</param>
\r
135 <returns>The string resource as a <see cref="T:Microsoft.Extensions.Localization.LocalizedString"/>.</returns>
\r
137 <member name="M:Microsoft.Extensions.Localization.StringLocalizerExtensions.GetString(Microsoft.Extensions.Localization.IStringLocalizer,System.String,System.Object[])">
\r
139 Gets the string resource with the given name and formatted with the supplied arguments.
\r
141 <param name="stringLocalizer">The <see cref="T:Microsoft.Extensions.Localization.IStringLocalizer"/>.</param>
\r
142 <param name="name">The name of the string resource.</param>
\r
143 <param name="arguments">The values to format the string with.</param>
\r
144 <returns>The formatted string resource as a <see cref="T:Microsoft.Extensions.Localization.LocalizedString"/>.</returns>
\r
146 <member name="M:Microsoft.Extensions.Localization.StringLocalizerExtensions.GetAllStrings(Microsoft.Extensions.Localization.IStringLocalizer)">
\r
148 Gets all string resources including those for parent cultures.
\r
150 <param name="stringLocalizer">The <see cref="T:Microsoft.Extensions.Localization.IStringLocalizer"/>.</param>
\r
151 <returns>The string resources.</returns>
\r
153 <member name="T:Microsoft.Extensions.Localization.StringLocalizer`1">
\r
155 Provides strings for <typeparamref name="TResourceSource"/>.
\r
157 <typeparam name="TResourceSource">The <see cref="T:System.Type"/> to provide strings for.</typeparam>
\r
159 <member name="M:Microsoft.Extensions.Localization.StringLocalizer`1.#ctor(Microsoft.Extensions.Localization.IStringLocalizerFactory)">
\r
161 Creates a new <see cref="T:Microsoft.Extensions.Localization.StringLocalizer`1"/>.
\r
163 <param name="factory">The <see cref="T:Microsoft.Extensions.Localization.IStringLocalizerFactory"/> to use.</param>
\r
165 <member name="P:Microsoft.Extensions.Localization.StringLocalizer`1.Item(System.String)">
\r
168 <member name="P:Microsoft.Extensions.Localization.StringLocalizer`1.Item(System.String,System.Object[])">
\r
171 <member name="M:Microsoft.Extensions.Localization.StringLocalizer`1.GetAllStrings(System.Boolean)">
\r