Skip to content

Class ParsingContext

Namespace: OfficeOpenXml.FormulaParsing
Assembly: EPPlus.dll

Parsing context

public class ParsingContext

Inheritance

object ← ParsingContext

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

CalcOption

Calculation options/parameters set for the Calculate call.

public ExcelCalculationOption CalcOption { get; set; }

Property Value

ExcelCalculationOption

Configuration

Configuration

public ParsingConfiguration Configuration { get; set; }

Property Value

ParsingConfiguration

CurrentCell

Represents the current cell

public FormulaCellAddress CurrentCell { get; set; }

Property Value

FormulaCellAddress

CurrentWorksheet

The worksheet where the current formula is located.

public ExcelWorksheet CurrentWorksheet { get; }

Property Value

ExcelWorksheet

Debug

Returns true if a IFormulaParserLogger is attached to the parser.

public bool Debug { get; }

Property Value

bool

NameValueProvider

INameValueProvider of the current context

public INameValueProvider NameValueProvider { get; set; }

Property Value

INameValueProvider

Parser

The FormulaParser of the current context.

public FormulaParser Parser { get; set; }

Property Value

FormulaParser

Methods

Create(ExcelPackage)

Factory method.

public static ParsingContext Create(ExcelPackage package)

Parameters

package ExcelPackage

The ExcelPackage where calculation is done

Returns

ParsingContext

Create()

Factory method

public static ParsingContext Create()

Returns

ParsingContext