Table of Contents

Class AddressFormatKey

Namespace
Dynamicweb.Ecommerce.International
Assembly
Dynamicweb.Ecommerce.dll

Address format key

[Serializable]
public sealed class AddressFormatKey : IEquatable<AddressFormatKey>
Inheritance
AddressFormatKey
Implements
Inherited Members

Constructors

AddressFormatKey(string, AddressFormatType)

Initializes a new instance of the class

public AddressFormatKey(string countryCode, AddressFormatType formatType)

Parameters

countryCode string

Country code

formatType AddressFormatType

Address format type

Properties

CountryCode

Country code

public string CountryCode { get; }

Property Value

string

FormatType

Address format type

public AddressFormatType FormatType { get; }

Property Value

AddressFormatType

Methods

Equals(AddressFormatKey)

Determines whether the specified AddressFormatKey is equal to this instance.

public bool Equals(AddressFormatKey other)

Parameters

other AddressFormatKey

The AddressFormatKey to compare with this instance.

Returns

bool

true if the specified AddressFormatKey is equal to this instance; otherwise, false.

Equals(object)

Determines whether the specified object is equal to this instance.

public override bool Equals(object other)

Parameters

other object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

GetHashCode()

Returns a hash code for this instance.

public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

ToString()

Returns a string representation of this instance.

public override string ToString()

Returns

string
To top