7 private bool isLocalizable;
28 this.isLocalizable = isLocalizable;
43 public override bool Equals(
object obj)
46 if (localizableAttribute !=
null)
57 return base.GetHashCode();
override int GetHashCode()
Returns the hash code for this instance.
static readonly LocalizableAttribute Yes
Specifies that a property should be localized. This static field is read-only.
bool IsLocalizable
Gets a value indicating whether a property should be localized.
Represents the base class for custom attributes.
override bool Equals(object obj)
Returns whether the value of the given object is equal to the current T:System.ComponentModel....
Specifies whether a property should be localized. This class cannot be inherited.
static readonly LocalizableAttribute No
Specifies that a property should not be localized. This static field is read-only.
static readonly LocalizableAttribute Default
Specifies the default value, which is F:System.ComponentModel.LocalizableAttribute....
LocalizableAttribute(bool isLocalizable)
Initializes a new instance of the T:System.ComponentModel.LocalizableAttribute class.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
override bool IsDefaultAttribute()
Determines if this attribute is the default.