Table of Contents

Class ExcelAddressCache

Namespace
OfficeOpenXml.FormulaParsing
Assembly
EPPlus.dll

Caches string by generated id's.

public class ExcelAddressCache
Inheritance
ExcelAddressCache
Inherited Members

Constructors

ExcelAddressCache()

public ExcelAddressCache()

Properties

Count

Number of items in the cache

public int Count { get; }

Property Value

int

Methods

Add(int, string)

Adds an address to the cache

public bool Add(int id, string address)

Parameters

id int
address string

Returns

bool

Clear()

Clears the cache

public void Clear()

Get(int)

Returns an address by its cache id

public string Get(int id)

Parameters

id int

Returns

string

GetNewId()

Returns an id to use for caching (when the Add(int, string) method is called)

public int GetNewId()

Returns

int