Show / Hide Table of Contents

Class AddressFormatCache

Cache for address formats, accessed by layout id

Inheritance
Object
CacheBase
AddressFormatCache
Implements
IDisposable
IFlushable
Inherited Members
CacheBase._lastUpdated
CacheBase._cacheState
CacheBase.IsCacheInvalidated(Int32, SqlType, Int32)
CacheBase.Dispose()
CacheBase.Validate()
CacheBase.Refresh()
CacheBase.Flush()
CacheBase.OnExpired()
CacheBase.OnRefreshed()
CacheBase.OnFlushed()
CacheBase.OnDisposed()
CacheBase.Lock
CacheBase.Name
CacheBase.CacheType
CacheBase.Timeout
CacheBase.State
CacheBase.IsValid
CacheBase.Expired
CacheBase.Refreshed
CacheBase.Flushed
CacheBase.Disposed
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Globalization
Assembly: SoDataBase.dll
Syntax
public class AddressFormatCache : CacheBase, IDisposable, IFlushable

Methods

GetCachedTableNumbers()

Declaration
public override int[] GetCachedTableNumbers()
Returns
Type Description
Int32[]
Overrides
CacheBase.GetCachedTableNumbers()

GetCurrent()

Get the current instance of the AddressFormatCache

Declaration
public static AddressFormatCache GetCurrent()
Returns
Type Description
AddressFormatCache

Current instance of the AddressFormat cache.

GetFromId(Int32)

Declaration
public AddressFormat GetFromId(int addressFormatId)
Parameters
Type Name Description
Int32 addressFormatId
Returns
Type Description
AddressFormat

GetLayout(Int32)

Declaration
public AddressLayout GetLayout(int layoutId)
Parameters
Type Name Description
Int32 layoutId
Returns
Type Description
AddressLayout

OnFlush()

Declaration
protected override void OnFlush()
Overrides
CacheBase.OnFlush()

OnRefresh()

Declaration
protected override void OnRefresh()
Overrides
CacheBase.OnRefresh()

Implements

System.IDisposable
IFlushable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top