-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ResourceManagerStringLocalizerFactory.xml
375 lines (375 loc) · 28.7 KB
/
ResourceManagerStringLocalizerFactory.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
<Type Name="ResourceManagerStringLocalizerFactory" FullName="Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory">
<TypeSignature Language="C#" Value="public class ResourceManagerStringLocalizerFactory : Microsoft.Extensions.Localization.IStringLocalizerFactory" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ResourceManagerStringLocalizerFactory extends System.Object implements class Microsoft.Extensions.Localization.IStringLocalizerFactory" />
<TypeSignature Language="DocId" Value="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory" />
<TypeSignature Language="VB.NET" Value="Public Class ResourceManagerStringLocalizerFactory
Implements IStringLocalizerFactory" />
<TypeSignature Language="F#" Value="type ResourceManagerStringLocalizerFactory = class
 interface IStringLocalizerFactory" />
<TypeSignature Language="C++ CLI" Value="public ref class ResourceManagerStringLocalizerFactory : Microsoft::Extensions::Localization::IStringLocalizerFactory" />
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Extensions.Localization.IStringLocalizerFactory</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
An <see cref="T:Microsoft.Extensions.Localization.IStringLocalizerFactory" /> that creates instances of <see cref="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizer" />.
</summary>
<remarks>
<see cref="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory" /> offers multiple ways to set the relative path of
resources to be used. They are, in order of precedence:
<see cref="T:Microsoft.Extensions.Localization.ResourceLocationAttribute" /> -> <see cref="P:Microsoft.Extensions.Localization.LocalizationOptions.ResourcesPath" /> -> the project root.
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ResourceManagerStringLocalizerFactory (Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Localization.LocalizationOptions> localizationOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Microsoft.Extensions.Options.IOptions`1<class Microsoft.Extensions.Localization.LocalizationOptions> localizationOptions, class Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Localization.LocalizationOptions},Microsoft.Extensions.Logging.ILoggerFactory)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (localizationOptions As IOptions(Of LocalizationOptions), loggerFactory As ILoggerFactory)" />
<MemberSignature Language="F#" Value="new Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Localization.LocalizationOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory" Usage="new Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory (localizationOptions, loggerFactory)" />
<MemberSignature Language="C++ CLI" Value="public:
 ResourceManagerStringLocalizerFactory(Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Localization::LocalizationOptions ^> ^ localizationOptions, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="localizationOptions" Type="Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Localization.LocalizationOptions>" />
<Parameter Name="loggerFactory" Type="Microsoft.Extensions.Logging.ILoggerFactory" />
</Parameters>
<Docs>
<param name="localizationOptions">The <see cref="T:Microsoft.Extensions.Options.IOptions`1" />.</param>
<param name="loggerFactory">The <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory" />.</param>
<summary>
Creates a new <see cref="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizer" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public Microsoft.Extensions.Localization.IStringLocalizer Create (Type resourceSource);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.Extensions.Localization.IStringLocalizer Create(class System.Type resourceSource) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory.Create(System.Type)" />
<MemberSignature Language="VB.NET" Value="Public Function Create (resourceSource As Type) As IStringLocalizer" />
<MemberSignature Language="F#" Value="abstract member Create : Type -> Microsoft.Extensions.Localization.IStringLocalizer
override this.Create : Type -> Microsoft.Extensions.Localization.IStringLocalizer" Usage="resourceManagerStringLocalizerFactory.Create resourceSource" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual Microsoft::Extensions::Localization::IStringLocalizer ^ Create(Type ^ resourceSource);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Extensions.Localization.IStringLocalizerFactory.Create(System.Type)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Localization.IStringLocalizer</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="resourceSource" Type="System.Type" />
</Parameters>
<Docs>
<param name="resourceSource">The <see cref="T:System.Type" />.</param>
<summary>
Creates a <see cref="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizer" /> using the <see cref="T:System.Reflection.Assembly" /> and
<see cref="P:System.Type.FullName" /> of the specified <see cref="T:System.Type" />.
</summary>
<returns>The <see cref="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizer" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public Microsoft.Extensions.Localization.IStringLocalizer Create (string baseName, string location);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.Extensions.Localization.IStringLocalizer Create(string baseName, string location) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory.Create(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function Create (baseName As String, location As String) As IStringLocalizer" />
<MemberSignature Language="F#" Value="abstract member Create : string * string -> Microsoft.Extensions.Localization.IStringLocalizer
override this.Create : string * string -> Microsoft.Extensions.Localization.IStringLocalizer" Usage="resourceManagerStringLocalizerFactory.Create (baseName, location)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual Microsoft::Extensions::Localization::IStringLocalizer ^ Create(System::String ^ baseName, System::String ^ location);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Extensions.Localization.IStringLocalizerFactory.Create(System.String,System.String)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Localization.IStringLocalizer</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="baseName" Type="System.String" />
<Parameter Name="location" Type="System.String" />
</Parameters>
<Docs>
<param name="baseName">The base name of the resource to load strings from.</param>
<param name="location">The location to load resources from.</param>
<summary>
Creates a <see cref="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizer" />.
</summary>
<returns>The <see cref="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizer" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateResourceManagerStringLocalizer">
<MemberSignature Language="C#" Value="protected virtual Microsoft.Extensions.Localization.ResourceManagerStringLocalizer CreateResourceManagerStringLocalizer (System.Reflection.Assembly assembly, string baseName);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class Microsoft.Extensions.Localization.ResourceManagerStringLocalizer CreateResourceManagerStringLocalizer(class System.Reflection.Assembly assembly, string baseName) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory.CreateResourceManagerStringLocalizer(System.Reflection.Assembly,System.String)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function CreateResourceManagerStringLocalizer (assembly As Assembly, baseName As String) As ResourceManagerStringLocalizer" />
<MemberSignature Language="F#" Value="abstract member CreateResourceManagerStringLocalizer : System.Reflection.Assembly * string -> Microsoft.Extensions.Localization.ResourceManagerStringLocalizer
override this.CreateResourceManagerStringLocalizer : System.Reflection.Assembly * string -> Microsoft.Extensions.Localization.ResourceManagerStringLocalizer" Usage="resourceManagerStringLocalizerFactory.CreateResourceManagerStringLocalizer (assembly, baseName)" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual Microsoft::Extensions::Localization::ResourceManagerStringLocalizer ^ CreateResourceManagerStringLocalizer(System::Reflection::Assembly ^ assembly, System::String ^ baseName);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Localization.ResourceManagerStringLocalizer</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="assembly" Type="System.Reflection.Assembly" />
<Parameter Name="baseName" Type="System.String" />
</Parameters>
<Docs>
<param name="assembly">The assembly to create a <see cref="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizer" /> for.</param>
<param name="baseName">The base name of the resource to search for.</param>
<summary>Creates a <see cref="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizer" /> for the given input.</summary>
<returns>A <see cref="T:Microsoft.Extensions.Localization.ResourceManagerStringLocalizer" /> for the given <paramref name="assembly" /> and <paramref name="baseName" />.</returns>
<remarks>This method is virtual for testing purposes only.</remarks>
</Docs>
</Member>
<Member MemberName="GetResourceLocationAttribute">
<MemberSignature Language="C#" Value="protected virtual Microsoft.Extensions.Localization.ResourceLocationAttribute? GetResourceLocationAttribute (System.Reflection.Assembly assembly);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class Microsoft.Extensions.Localization.ResourceLocationAttribute GetResourceLocationAttribute(class System.Reflection.Assembly assembly) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory.GetResourceLocationAttribute(System.Reflection.Assembly)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function GetResourceLocationAttribute (assembly As Assembly) As ResourceLocationAttribute" />
<MemberSignature Language="F#" Value="abstract member GetResourceLocationAttribute : System.Reflection.Assembly -> Microsoft.Extensions.Localization.ResourceLocationAttribute
override this.GetResourceLocationAttribute : System.Reflection.Assembly -> Microsoft.Extensions.Localization.ResourceLocationAttribute" Usage="resourceManagerStringLocalizerFactory.GetResourceLocationAttribute assembly" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual Microsoft::Extensions::Localization::ResourceLocationAttribute ^ GetResourceLocationAttribute(System::Reflection::Assembly ^ assembly);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Localization.ResourceLocationAttribute</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="assembly" Type="System.Reflection.Assembly" />
</Parameters>
<Docs>
<param name="assembly">The assembly to get a <see cref="T:Microsoft.Extensions.Localization.ResourceLocationAttribute" /> from.</param>
<summary>Gets a <see cref="T:Microsoft.Extensions.Localization.ResourceLocationAttribute" /> from the provided <see cref="T:System.Reflection.Assembly" />.</summary>
<returns>The <see cref="T:Microsoft.Extensions.Localization.ResourceLocationAttribute" /> associated with the given <see cref="T:System.Reflection.Assembly" />.</returns>
<remarks>This method is protected and virtual for testing purposes only.</remarks>
</Docs>
</Member>
<Member MemberName="GetResourcePrefix">
<MemberSignature Language="C#" Value="protected virtual string GetResourcePrefix (System.Reflection.TypeInfo typeInfo);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance string GetResourcePrefix(class System.Reflection.TypeInfo typeInfo) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory.GetResourcePrefix(System.Reflection.TypeInfo)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function GetResourcePrefix (typeInfo As TypeInfo) As String" />
<MemberSignature Language="F#" Value="abstract member GetResourcePrefix : System.Reflection.TypeInfo -> string
override this.GetResourcePrefix : System.Reflection.TypeInfo -> string" Usage="resourceManagerStringLocalizerFactory.GetResourcePrefix typeInfo" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual System::String ^ GetResourcePrefix(System::Reflection::TypeInfo ^ typeInfo);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="typeInfo" Type="System.Reflection.TypeInfo" />
</Parameters>
<Docs>
<param name="typeInfo">The type of the resource to be looked up.</param>
<summary>
Gets the resource prefix used to look up the resource.
</summary>
<returns>The prefix for resource lookup.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetResourcePrefix">
<MemberSignature Language="C#" Value="protected virtual string GetResourcePrefix (string baseResourceName, string baseNamespace);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance string GetResourcePrefix(string baseResourceName, string baseNamespace) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory.GetResourcePrefix(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function GetResourcePrefix (baseResourceName As String, baseNamespace As String) As String" />
<MemberSignature Language="F#" Value="abstract member GetResourcePrefix : string * string -> string
override this.GetResourcePrefix : string * string -> string" Usage="resourceManagerStringLocalizerFactory.GetResourcePrefix (baseResourceName, baseNamespace)" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual System::String ^ GetResourcePrefix(System::String ^ baseResourceName, System::String ^ baseNamespace);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="baseResourceName" Type="System.String" />
<Parameter Name="baseNamespace" Type="System.String" />
</Parameters>
<Docs>
<param name="baseResourceName">The name of the resource to be looked up</param>
<param name="baseNamespace">The base namespace of the application.</param>
<summary>
Gets the resource prefix used to look up the resource.
</summary>
<returns>The prefix for resource lookup.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetResourcePrefix">
<MemberSignature Language="C#" Value="protected virtual string GetResourcePrefix (System.Reflection.TypeInfo typeInfo, string? baseNamespace, string? resourcesRelativePath);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance string GetResourcePrefix(class System.Reflection.TypeInfo typeInfo, string baseNamespace, string resourcesRelativePath) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory.GetResourcePrefix(System.Reflection.TypeInfo,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function GetResourcePrefix (typeInfo As TypeInfo, baseNamespace As String, resourcesRelativePath As String) As String" />
<MemberSignature Language="F#" Value="abstract member GetResourcePrefix : System.Reflection.TypeInfo * string * string -> string
override this.GetResourcePrefix : System.Reflection.TypeInfo * string * string -> string" Usage="resourceManagerStringLocalizerFactory.GetResourcePrefix (typeInfo, baseNamespace, resourcesRelativePath)" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual System::String ^ GetResourcePrefix(System::Reflection::TypeInfo ^ typeInfo, System::String ^ baseNamespace, System::String ^ resourcesRelativePath);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="typeInfo" Type="System.Reflection.TypeInfo" />
<Parameter Name="baseNamespace" Type="System.String">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="resourcesRelativePath" Type="System.String">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="typeInfo">The type of the resource to be looked up.</param>
<param name="baseNamespace">The base namespace of the application.</param>
<param name="resourcesRelativePath">The folder containing all resources.</param>
<summary>
Gets the resource prefix used to look up the resource.
</summary>
<returns>The prefix for resource lookup.</returns>
<remarks>
For the type "Sample.Controllers.Home" if there's a resourceRelativePath return
"Sample.Resourcepath.Controllers.Home" if there isn't one then it would return "Sample.Controllers.Home".
</remarks>
</Docs>
</Member>
<Member MemberName="GetResourcePrefix">
<MemberSignature Language="C#" Value="protected virtual string GetResourcePrefix (string location, string baseName, string resourceLocation);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance string GetResourcePrefix(string location, string baseName, string resourceLocation) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory.GetResourcePrefix(System.String,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function GetResourcePrefix (location As String, baseName As String, resourceLocation As String) As String" />
<MemberSignature Language="F#" Value="abstract member GetResourcePrefix : string * string * string -> string
override this.GetResourcePrefix : string * string * string -> string" Usage="resourceManagerStringLocalizerFactory.GetResourcePrefix (location, baseName, resourceLocation)" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual System::String ^ GetResourcePrefix(System::String ^ location, System::String ^ baseName, System::String ^ resourceLocation);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="location" Type="System.String" />
<Parameter Name="baseName" Type="System.String" />
<Parameter Name="resourceLocation" Type="System.String" />
</Parameters>
<Docs>
<param name="location">The general location of the resource.</param>
<param name="baseName">The base name of the resource.</param>
<param name="resourceLocation">The location of the resource within <paramref name="location" />.</param>
<summary>
Gets the resource prefix used to look up the resource.
</summary>
<returns>The resource prefix used to look up the resource.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetRootNamespaceAttribute">
<MemberSignature Language="C#" Value="protected virtual Microsoft.Extensions.Localization.RootNamespaceAttribute? GetRootNamespaceAttribute (System.Reflection.Assembly assembly);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class Microsoft.Extensions.Localization.RootNamespaceAttribute GetRootNamespaceAttribute(class System.Reflection.Assembly assembly) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory.GetRootNamespaceAttribute(System.Reflection.Assembly)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function GetRootNamespaceAttribute (assembly As Assembly) As RootNamespaceAttribute" />
<MemberSignature Language="F#" Value="abstract member GetRootNamespaceAttribute : System.Reflection.Assembly -> Microsoft.Extensions.Localization.RootNamespaceAttribute
override this.GetRootNamespaceAttribute : System.Reflection.Assembly -> Microsoft.Extensions.Localization.RootNamespaceAttribute" Usage="resourceManagerStringLocalizerFactory.GetRootNamespaceAttribute assembly" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual Microsoft::Extensions::Localization::RootNamespaceAttribute ^ GetRootNamespaceAttribute(System::Reflection::Assembly ^ assembly);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Localization</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Localization.RootNamespaceAttribute</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="assembly" Type="System.Reflection.Assembly" />
</Parameters>
<Docs>
<param name="assembly">The assembly to get a <see cref="T:Microsoft.Extensions.Localization.RootNamespaceAttribute" /> from.</param>
<summary>Gets a <see cref="T:Microsoft.Extensions.Localization.RootNamespaceAttribute" /> from the provided <see cref="T:System.Reflection.Assembly" />.</summary>
<returns>The <see cref="T:Microsoft.Extensions.Localization.RootNamespaceAttribute" /> associated with the given <see cref="T:System.Reflection.Assembly" />.</returns>
<remarks>This method is protected and virtual for testing purposes only.</remarks>
</Docs>
</Member>
</Members>
</Type>