Table of Contents

Class LocaleAttribute

Namespace
XENBIT.ResQueServe.Abstractions.Attributes
Assembly
RQS.Abstractions.dll

Custom attribute for specifying the locale of a country.

[AttributeUsage(AttributeTargets.Field)]
public sealed class LocaleAttribute : Attribute
Inheritance
LocaleAttribute
Inherited Members

Constructors

LocaleAttribute(string)

Initializes a new instance of the LocaleAttribute class.

public LocaleAttribute(string locale)

Parameters

locale string

The locale identifier.

Properties

Locale

Gets the locale identifier for the specified country.

public string Locale { get; }

Property Value

string