Class PhoneCountryCodeAttribute
- Namespace
- XENBIT.ResQueServe.Abstractions.Attributes
- Assembly
- RQS.Abstractions.dll
Custom attribute for defining phone country codes.
[AttributeUsage(AttributeTargets.Field)]
public sealed class PhoneCountryCodeAttribute : Attribute
- Inheritance
-
PhoneCountryCodeAttribute
- Inherited Members
Constructors
PhoneCountryCodeAttribute(string)
Initializes a new instance of the PhoneCountryCodeAttribute class.
public PhoneCountryCodeAttribute(string phoneCode)
Parameters
phoneCodestringThe phone country code.
Properties
PhoneCode
Gets the phone country code for the specified country.
public string PhoneCode { get; }