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
Syntaxpublic class ExpressionsCompilerOptions
Properties
DegreeOfParallelism
Degree of parallelism used during expressions compilation. By default is
Declarationpublic int DegreeOfParallelism { get; set; }
Type | Description |
---|---|
int |
ForceGarbageCollection
Forced to invoke after compiling each expression
Declarationpublic bool ForceGarbageCollection { get; set; }
Type | Description |
---|---|
bool |
Default
It is instance of ExpressionsCompilerOptions with default values. That is, without invoking and with max parallelism.
Declarationpublic static ExpressionsCompilerOptions Default { get; }
Type | Description |
---|---|
ExpressionsCompilerOptions |
Forced
For decrease a memory spike. Disable parallelism compilation and forced invoking after each script compilation.
Declarationpublic static ExpressionsCompilerOptions Forced { get; }
Type | Description |
---|---|
ExpressionsCompilerOptions |