Click or drag to resize

ExpressionCompilerCompileFastT1, T2, T3, R Method (ExpressionFuncT1, T2, T3, R, Boolean, CompilerFlags)

Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing.

Namespace:  SphinxConnector.FluentApi.Helpers
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.2.0
Syntax
public static Func<T1, T2, T3, R> CompileFast<T1, T2, T3, R>(
	this Expression<Func<T1, T2, T3, R>> lambdaExpr,
	bool ifFastFailedReturnNull = false,
	CompilerFlags flags = CompilerFlags.Default
)

Parameters

lambdaExpr
Type: System.Linq.ExpressionsExpressionFuncT1, T2, T3, R

[Missing <param name="lambdaExpr"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.CompileFast``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3}},System.Boolean,SphinxConnector.FluentApi.Helpers.CompilerFlags)"]

ifFastFailedReturnNull (Optional)
Type: SystemBoolean

[Missing <param name="ifFastFailedReturnNull"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.CompileFast``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3}},System.Boolean,SphinxConnector.FluentApi.Helpers.CompilerFlags)"]

flags (Optional)
Type: SphinxConnector.FluentApi.HelpersCompilerFlags

[Missing <param name="flags"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.CompileFast``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3}},System.Boolean,SphinxConnector.FluentApi.Helpers.CompilerFlags)"]

Type Parameters

T1

[Missing <typeparam name="T1"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.CompileFast``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3}},System.Boolean,SphinxConnector.FluentApi.Helpers.CompilerFlags)"]

T2

[Missing <typeparam name="T2"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.CompileFast``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3}},System.Boolean,SphinxConnector.FluentApi.Helpers.CompilerFlags)"]

T3

[Missing <typeparam name="T3"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.CompileFast``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3}},System.Boolean,SphinxConnector.FluentApi.Helpers.CompilerFlags)"]

R

[Missing <typeparam name="R"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.CompileFast``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3}},System.Boolean,SphinxConnector.FluentApi.Helpers.CompilerFlags)"]

Return Value

Type: FuncT1, T2, T3, R

[Missing <returns> documentation for "M:SphinxConnector.FluentApi.Helpers.ExpressionCompiler.CompileFast``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3}},System.Boolean,SphinxConnector.FluentApi.Helpers.CompilerFlags)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ExpressionFuncT1, T2, T3, R. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also