Show / Hide Table of Contents

Class ParsingContext

Parsing context

Inheritance
System.Object
ParsingContext
Implements
IParsingLifetimeEventHandler
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 ParsingContext : IParsingLifetimeEventHandler

Properties

Configuration

Configuration

Declaration
public ParsingConfiguration Configuration { get; set; }
Property Value
Type Description
ParsingConfiguration

CurrentCell

Represents the current cell

Declaration
public FormulaCellAddress CurrentCell { get; set; }
Property Value
Type Description
FormulaCellAddress

CurrentWorksheet

The worksheet where the current formula is located.

Declaration
public ExcelWorksheet CurrentWorksheet { get; }
Property Value
Type Description
ExcelWorksheet

Debug

Returns true if a IFormulaParserLogger is attached to the parser.

Declaration
public bool Debug { get; }
Property Value
Type Description
System.Boolean

NameValueProvider

INameValueProvider of the current context

Declaration
public INameValueProvider NameValueProvider { get; set; }
Property Value
Type Description
INameValueProvider

Parser

The FormulaParser of the current context.

Declaration
public FormulaParser Parser { get; set; }
Property Value
Type Description
FormulaParser

Methods

Create()

Factory method

Declaration
public static ParsingContext Create()
Returns
Type Description
ParsingContext

Create(ExcelPackage)

Factory method.

Declaration
public static ParsingContext Create(ExcelPackage package)
Parameters
Type Name Description
ExcelPackage package

The ExcelPackage where calculation is done

Returns
Type Description
ParsingContext

Explicit Interface Implementations

IParsingLifetimeEventHandler.ParsingCompleted()

Declaration
void IParsingLifetimeEventHandler.ParsingCompleted()

Implements

IParsingLifetimeEventHandler
In This Article
Back to top Generated by DocFX