| LocalizationRequiredAttribute Class |
Namespace: Slash.Diagnostics.ReSharper.Annotations
The LocalizationRequiredAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| LocalizationRequiredAttribute | ||
| LocalizationRequiredAttribute(Boolean) |
Initializes a new instance of the LocalizationRequiredAttribute class.
|
| Name | Description | |
|---|---|---|
| Required |
Gets a value indicating whether a element should be localized.
Field ValueType:true if a element should be localized; otherwise, false. |
| Name | Description | |
|---|---|---|
| Equals |
Returns whether the value of the given object is equal to the current LocalizationRequiredAttribute.
(Overrides AttributeEquals(Object).) | |
| GetHashCode |
Returns the hash code for this instance.
(Overrides AttributeGetHashCode.) |
[LocalizationRequiredAttribute(true)] public class Foo { private string str = "my string"; // Warning: Localizable string }