Click or drag to resize

LocalizedDescriptionAttribute Class

Defines an attribute that can be used to define a localizable description for a type or member.
Inheritance Hierarchy

Namespace:  Enkoni.Framework
Assembly:  Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntax
[AttributeUsageAttribute(AttributeTargets.All)]
public sealed class LocalizedDescriptionAttribute : DescriptionAttribute

The LocalizedDescriptionAttribute type exposes the following members.

Constructors
  NameDescription
Public methodLocalizedDescriptionAttribute(String)
Initializes a new instance of the LocalizedDescriptionAttribute class.
Public methodLocalizedDescriptionAttribute(String, Type)
Initializes a new instance of the LocalizedDescriptionAttribute class.
Top
Properties
  NameDescription
Public propertyDefaultDescription
Gets or sets the default description in case the resource key could not be found in the resources.
Public propertyDescription
Gets the description stored in this attribute.
(Inherited from DescriptionAttribute.)
Protected propertyDescriptionValue
Gets or sets the string stored as the description.
(Inherited from DescriptionAttribute.)
Public propertyResourceKey
Gets the key with which the description must be retrieved from the resources.
Public propertyResourceType
Gets the type of the resources that contains the description.
Top
Methods
  NameDescription
Public methodEquals
Returns whether the value of the given object is equal to the current DescriptionAttribute.
(Inherited from DescriptionAttribute.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Inherited from DescriptionAttribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
Returns a value indicating whether this is the default DescriptionAttribute instance.
(Inherited from DescriptionAttribute.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also