ModelExtensionsGetPropertyNamesT Method |
Namespace:
Xcalibur.Extensions
Assembly:
Xcalibur.Extensions (in Xcalibur.Extensions.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax public static IEnumerable<string> GetPropertyNames<T>(
this Expression<Func<T, bool>> expression
)
<ExtensionAttribute>
Public Shared Function GetPropertyNames(Of T) (
expression As Expression(Of Func(Of T, Boolean))
) As IEnumerable(Of String)
public:
[ExtensionAttribute]
generic<typename T>
static IEnumerable<String^>^ GetPropertyNames(
Expression<Func<T, bool>^>^ expression
)
[<ExtensionAttribute>]
static member GetPropertyNames :
expression : Expression<Func<'T, bool>> -> IEnumerable<string>
Parameters
- expression
- Type: System.Linq.ExpressionsExpressionFuncT, Boolean
The expression.
Type Parameters
- T
Return Value
Type:
IEnumerableStringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ExpressionFuncT,
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