/// <summary> /// Initializes a new instance of the <see cref="LocalizedCategoryAttribute"/> class. /// </summary> /// <param name="resourceKey">The resource key of the associated resource.</param> public LocalizedCategoryAttribute(StringResourceKey resourceKey) : base(resourceKey.ToString()) { }
/// <summary> /// Initializes a new instance of the <see cref="LocalizedDescriptionAttribute"/> class. /// </summary> /// <param name="resourceKey">The resource key of the associated resource.</param> public LocalizedDescriptionAttribute(StringResourceKey resourceKey) { _resourceKey = resourceKey.ToString(); }
/// <summary> /// Initializes a new instance of the <see cref="LocalizedDisplayNameAttribute"/> class. /// </summary> /// <param name="resourceKey">The resource key of the associated resource.</param> public LocalizedDisplayNameAttribute(StringResourceKey resourceKey) { _resourceKey = resourceKey.ToString(); }
/// <summary> /// Initializes a new instance of the <see cref="LocalizedTextAttribute"/> class. /// </summary> /// <param name="key">Any user defined key to specify the usage of this text.</param> /// <param name="resourceKey">The resource key of the associated resource.</param> public LocalizedTextAttribute(object key, StringResourceKey resourceKey) : base(key) { _resourceKey = resourceKey.ToString(); }