StiLocalizationKeyAttribute Class

Namespace: Stimulsoft.Base.Localization

Inheritance

Inherits from: Attribute

Constructors

Constructor Description
StiLocalizationKeyAttribute(string category, string key) Initializes a new instance of the StiCategoryAttribute class using the category name Default.

StiLocalizationKeyAttribute(category: string, key: string)

Initializes a new instance of the StiCategoryAttribute class using the category name Default.

Parameters

  • category (string) — A localization category for the property that this attribute is applied to.
  • key (string) — A localization key for the property that this attribute is applied to.

Properties

Property Type Description
Category string Gets or sets a localization category for the property that this attribute is applied to.
Key string Gets or sets a localization key for the property that this attribute is applied to.