Click or drag to resize
LocalizationRequiredAttribute Class
Indicates that marked element should be localized or not
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Hangfire.AnnotationsLocalizationRequiredAttribute

Namespace: Hangfire.Annotations
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = false, Inherited = true)]
public sealed class LocalizationRequiredAttribute : Attribute

The LocalizationRequiredAttribute type exposes the following members.

Constructors
  NameDescription
Public methodLocalizationRequiredAttribute
Initializes a new instance of the LocalizationRequiredAttribute class
Public methodLocalizationRequiredAttribute(Boolean)
Initializes a new instance of the LocalizationRequiredAttribute class
Top
Properties
  NameDescription
Public propertyRequired
Top
Examples
[LocalizationRequiredAttribute(true)]
public class Foo 
{
    private string str = "my string"; // Warning: Localizable string
}
See Also