Table of Contents

Class IsoCountryCodeAttribute

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

Custom attribute for defining ISO country codes.

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

Constructors

IsoCountryCodeAttribute(string, string)

Initializes a new instance of the IsoCountryCodeAttribute class.

public IsoCountryCodeAttribute(string isoAlpha2, string isoAlpha3)

Parameters

isoAlpha2 string

The two-letter ISO country code.

isoAlpha3 string

The three-letter ISO country code.

Properties

IsoAlpha2

Gets the two-letter ISO country code (ISO Alpha-2).

public string IsoAlpha2 { get; }

Property Value

string

IsoAlpha3

Gets the three-letter ISO country code (ISO Alpha-3).

public string IsoAlpha3 { get; }

Property Value

string