IStringLocalizer<T> Interfaz
Definición
Representa un objeto IStringLocalizer que proporciona cadenas para T.Represents an IStringLocalizer that provides strings for T.
generic <typename T>
public interface class IStringLocalizer : Microsoft::Extensions::Localization::IStringLocalizer
public interface IStringLocalizer<T> : Microsoft.Extensions.Localization.IStringLocalizer
public interface IStringLocalizer<out T> : Microsoft.Extensions.Localization.IStringLocalizer
type IStringLocalizer<'T> = interface
interface IStringLocalizer
Public Interface IStringLocalizer(Of T)
Implements IStringLocalizer
Public Interface IStringLocalizer(Of Out T)
Implements IStringLocalizer
Parámetros de tipo
- Derivado
- Implementaciones
Propiedades
| Item[String, Object[]] |
Obtiene el recurso de cadena con el nombre especificado y con el formato mediante los argumentos proporcionados.Gets the string resource with the given name and formatted with the supplied arguments. (Heredado de IStringLocalizer) |
| Item[String] |
Obtiene el recurso de cadena con el nombre especificado.Gets the string resource with the given name. (Heredado de IStringLocalizer) |
Métodos
| GetAllStrings(Boolean) |
Obtiene todos los recursos de cadena.Gets all string resources. (Heredado de IStringLocalizer) |
| WithCulture(CultureInfo) |
Obsoleto.
Crea una instancia de IStringLocalizer para un objeto CultureInfo específico.Creates a new IStringLocalizer for a specific CultureInfo. (Heredado de IStringLocalizer) |
Métodos de extensión
| GetAllStrings(IStringLocalizer) |
Obtiene todos los recursos de cadena incluidos los de las referencias culturales primarias.Gets all string resources including those for parent cultures. |
| GetString(IStringLocalizer, String) |
Obtiene el recurso de cadena con el nombre especificado.Gets the string resource with the given name. |
| GetString(IStringLocalizer, String, Object[]) |
Obtiene el recurso de cadena con el nombre especificado y con el formato mediante los argumentos proporcionados.Gets the string resource with the given name and formatted with the supplied arguments. |