Table of Contents

Class AddressFormatService

Namespace
Dynamicweb.Ecommerce.International
Assembly
Dynamicweb.Ecommerce.dll
Country address formats service
public class AddressFormatService : ICacheStorage<AddressFormatKey, string>, ICacheStorage<AddressFormatKey>, ICacheStorage
Inheritance
AddressFormatService
Implements
Inherited Members

Methods

ClearCache()

Resets all keys to the default value for objects stored in the object cache
public void ClearCache()

ClearCache(AddressFormatKey)

Resets the specified key to the default value for objects stored in the object cache
public void ClearCache(AddressFormatKey key)

Parameters

key AddressFormatKey
Key to reset

ClearCache(IEnumerable<AddressFormatKey>)

Resets the specified keys to the default value for objects stored in the object cache
public void ClearCache(IEnumerable<AddressFormatKey> keys)

Parameters

keys IEnumerable<AddressFormatKey>
Keys to reset

GetDefaultDisplayAddressFormat(string)

Gets default display address format for needed country.
public string GetDefaultDisplayAddressFormat(string countryCode)

Parameters

countryCode string
Country code

Returns

string

GetDefaultEditAddressFormat(string)

Gets default edit address format for needed country.
public string GetDefaultEditAddressFormat(string countryCode)

Parameters

countryCode string
Country code

Returns

string
To top