Table of Contents

Class LocalizableDescriptionAttribute

Namespace
Cryville.EEW.ComponentModel
Assembly
Cryville.EEW.dll
Specifies a localizable description.
[AttributeUsage(AttributeTargets.All)]
public sealed class LocalizableDescriptionAttribute : DescriptionAttribute
Inheritance
LocalizableDescriptionAttribute
Inherited Members

Constructors

LocalizableDescriptionAttribute(string, string)

Creates an instance of the LocalizableDescriptionAttribute class.
public LocalizableDescriptionAttribute(string description, string type = "")

Parameters

description string
The name of the localizable string.
type string
The name of the localizable resource.

Properties

Description

Gets the description stored in this attribute.
public override string Description { get; }

Property Value

string
The description stored in this attribute.

Path

The string set names where the localizable string is.
public string[] Path { get; set; }

Property Value

string[]

Type

The name of the localized resource.
public string Type { get; }

Property Value

string