Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class ExpressionsCompilerOptions

Options for ExpressionsCompiler

Inheritance

↳ object

    ↳ ExpressionsCompilerOptions

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.CodeActions

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class ExpressionsCompilerOptions

Properties

DegreeOfParallelism

Degree of parallelism used during expressions compilation. By default is

Declaration
public int DegreeOfParallelism { get; set; }
Property value
TypeDescription
int

ForceGarbageCollection

Forced to invoke after compiling each expression

Declaration
public bool ForceGarbageCollection { get; set; }
Property value
TypeDescription
bool

Default

It is instance of ExpressionsCompilerOptions with default values. That is, without invoking and with max parallelism.

Declaration
public static ExpressionsCompilerOptions Default { get; }
Property value
TypeDescription
ExpressionsCompilerOptions

Forced

For decrease a memory spike. Disable parallelism compilation and forced invoking after each script compilation.

Declaration
public static ExpressionsCompilerOptions Forced { get; }
Property value
TypeDescription
ExpressionsCompilerOptions

Extension Methods