IStringLocalizer Interface

Definition

Represents a service that provides localized strings.

public interface class IStringLocalizer
public interface IStringLocalizer
type IStringLocalizer = interface
Public Interface IStringLocalizer
Derived

Properties

Item[String, Object[]]

Gets the string resource with the given name and formatted with the supplied arguments.

Item[String]

Gets the string resource with the given name.

Methods

GetAllStrings(Boolean)

Gets all string resources.

WithCulture(CultureInfo)
Obsolete.

Creates a new IStringLocalizer for a specific CultureInfo.

Extension Methods

GetAllStrings(IStringLocalizer)

Gets all string resources including those for parent cultures.

GetString(IStringLocalizer, String)

Gets the string resource with the given name.

GetString(IStringLocalizer, String, Object[])

Gets the string resource with the given name and formatted with the supplied arguments.

Applies to