ExampleAttributeDescriptionValue - свойство

Gets or sets the string stored as the description.

Definition

Пространство имён: Tessa.Platform.CommandLine
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
protected string? DescriptionValue { get; set; }

Значение свойства

String
The string stored as the description.

Заметки

The default implementation of the Description property simply returns this value.

This extra property exists so that you can derive from ExampleAttribute and provide a localized version. The derived localizable ExampleAttribute will maintain a private Boolean field to indicate if it has been localized. On the first access to the Description property, it will look up the localized string and store it back in the DescriptionValue property.

См. также