 | ToCSharpPrinterToCSharpString Method (Expression) |
Tries hard to convert the expression into the correct C# code
Namespace:
SphinxConnector.FluentApi.Helpers
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.2.0
Syntaxpublic static string ToCSharpString(
this Expression expr
)
<ExtensionAttribute>
Public Shared Function ToCSharpString (
expr As Expression
) As String
Parameters
- expr
- Type: System.Linq.ExpressionsExpression
[Missing <param name="expr"/> documentation for "M:SphinxConnector.FluentApi.Helpers.ToCSharpPrinter.ToCSharpString(System.Linq.Expressions.Expression)"]
Return Value
Type:
String[Missing <returns> documentation for "M:SphinxConnector.FluentApi.Helpers.ToCSharpPrinter.ToCSharpString(System.Linq.Expressions.Expression)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Expression. 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