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