Namespace: MonoSoftware.MonoX.OpenSocial
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static Expression<Func> ToLinqExpression<T>(
	this bool filter
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function ToLinqExpression(Of T) ( 
	filter As Boolean
) As Expression(Of Func)
Visual C++
public:
[ExtensionAttribute]
generic<typename T>
static Expression<Func^>^ ToLinqExpression(
	bool filter
)
F#
static member ToLinqExpression : 
        filter : bool -> Expression<Func> 

Parameters

filter
Type: System..::..Boolean

Type Parameters

T

Return Value

Type: Expression<(Of <(<'Func<(Of <(<'T, TResult>)>)>>)>)>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Boolean. 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