Class ExcelAddressCache
Caches string by generated id's.
Inherited Members
Namespace: OfficeOpenXml.FormulaParsing
Assembly: EPPlus.dll
Syntax
public class ExcelAddressCache
Properties
Count
Number of items in the cache
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Add(int, string)
Adds an address to the cache
Declaration
public bool Add(int id, string address)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | |
| string | address |
Returns
| Type | Description |
|---|---|
| bool |
Clear()
Clears the cache
Declaration
public void Clear()
Get(int)
Returns an address by its cache id
Declaration
public string Get(int id)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id |
Returns
| Type | Description |
|---|---|
| string |
GetNewId()
Returns an id to use for caching (when the Add(int, string) method is called)
Declaration
public int GetNewId()
Returns
| Type | Description |
|---|---|
| int |