The C1CalcEngine type exposes the following members.

Constructors

  Name Description
Public method C1CalcEngine
Initializes a new instance of a C1CalcEngine.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method Evaluate
Evaluates a string.
Public method GetExternalObject
Gets an external object based on an identifier.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method Parse
Parses a string into an Expression.
Public method RegisterFunction(String, Int32, CalcEngineFunction)
Registers a function that can be evaluated by this C1CalcEngine.
Public method RegisterFunction(String, Int32, Int32, CalcEngineFunction)
Registers a function that can be evaluated by this C1CalcEngine.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property CacheExpressions
Gets or sets whether the calc engine should keep a cache with parsed expressions.
Public property CultureInfo
Gets or sets the CultureInfo to use when parsing numbers and dates.
Public property DataContext
Gets or sets the DataContext for this C1CalcEngine.
Public property Functions
Gets the dictionary that contains function definitions.
Public property IdentifierChars
Gets or sets a string that specifies special characters that are valid for identifiers.
Public property OptimizeExpressions
Gets or sets whether the calc engine should optimize expressions when they are parsed.
Public property Variables
Gets the dictionary that contains simple variables (not in the DataContext).

See Also