IStringLocalizer 介面

定義

代表提供在地字串的服務。

public interface class IStringLocalizer
public interface IStringLocalizer
type IStringLocalizer = interface
Public Interface IStringLocalizer
衍生

屬性

名稱 Description
Item[String, Object[]]

取得帶有名稱的字串資源,並以提供的參數格式化。

Item[String]

取得帶有名字的字串資源。

方法

名稱 Description
GetAllStrings(Boolean)

他會拿到所有弦樂資源。

擴充方法

名稱 Description
GetAllStrings(IStringLocalizer)

取得所有弦系資源,包括母體培養的資源。

GetString(IStringLocalizer, String, Object[])

取得帶有名稱的字串資源,並以提供的參數格式化。

GetString(IStringLocalizer, String)

取得帶有名字的字串資源。

適用於