Class JsonStringLocalizerFactory
- Namespace
- CounterStrikeSharp.API.Core.Translations
- Assembly
- CounterStrikeSharp.API.dll
public class JsonStringLocalizerFactory : IStringLocalizerFactory
- Inheritance
-
objectJsonStringLocalizerFactory
- Implements
Constructors
JsonStringLocalizerFactory(IPluginContext)
public JsonStringLocalizerFactory(IPluginContext pluginContext)
Parameters
pluginContextIPluginContext
Methods
Create(string, string)
Creates an IStringLocalizer.
public IStringLocalizer Create(string baseName, string location)
Parameters
baseNamestringThe base name of the resource to load strings from.
locationstringThe location to load resources from.
Returns
Create(Type)
Creates an IStringLocalizer using the Assembly and FullName of the specified Type.
public IStringLocalizer Create(Type resourceSource)