HtmlForgeX

API Reference

Class

CountryCodeAttribute

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Attribute
Modifiers sealed
Attributes
AttributeUsage(256)

Annotates a Country with ISO 3166-1 codes.

Inheritance

  • Attribute
  • CountryCodeAttribute

Constructors

public CountryCodeAttribute(String iso2, String iso3) #

Creates a new attribute with the given ISO codes.

Parameters

iso2 System.String requiredposition: 0
Alpha-2 code.
iso3 System.String requiredposition: 1
Alpha-3 code.

Properties

public String Iso2 { get; } #

ISO 3166-1 alpha-2 code (e.g., "PL").

public String Iso3 { get; } #

ISO 3166-1 alpha-3 code (e.g., "POL").