Class ReflectionEmitCodeProvider
Represents code provider that uses reflection emit to calc an expression.
Inherited Members
Namespace: FastReport.Code.ReflectionEmit
Assembly: FastReport.dll
Syntax
public class ReflectionEmitCodeProvider : MsCodeProvider
Constructors
ReflectionEmitCodeProvider(Report)
Initializes a new instance of ReflectionEmitCodeProvider class.
Declaration
public ReflectionEmitCodeProvider(Report report)
Parameters
Type | Name | Description |
---|---|---|
Report | report |
Methods
Clear()
Clears the inner state.
Declaration
public override void Clear()
Overrides
Compile()
Compiles the report's script.
Declaration
public override void Compile()
Overrides
CompileAsync(CancellationToken)
Compiles the report's script async way.
Declaration
public override async Task CompileAsync(CancellationToken token)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
TryCalcExpression(String, Variant, out Object)
Tries to calculate an expression.
Declaration
protected override bool TryCalcExpression(string expression, Variant value, out object result)
Parameters
Type | Name | Description |
---|---|---|
System.String | expression | The expression to calc. |
Variant | value | The value parameter. |
System.Object | result | The calculation result. |
Returns
Type | Description |
---|---|
System.Boolean | true if the expression was calculated. |