Class FieldExpressionBuilder<TData>
The FieldExpressionBuilder class supports the construction of field expressions representing the fields of particular data model.
Inheritance
System.Object
FieldExpressionBuilder<TData>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.Common
Assembly: EPiServer.Social.Common.dll
Version: 1.5.4Syntax
public static class FieldExpressionBuilder<TData>
Type Parameters
| Name | Description |
|---|---|
| TData | Type of data exposing the fields to be represented in an expression |
Methods
Create<TValue>(Expression<Func<TData, TValue>>)
Creates a field expression representing the field identified by the specified field selector.
Declaration
public static FieldExpression Create<TValue>(Expression<Func<TData, TValue>> fieldSelector)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Linq.Expressions.Expression<System.Func<TData, TValue>> | fieldSelector | Expression identifying the field to be represented as a FieldExpression |
Returns
| Type | Description |
|---|---|
| FieldExpression | Field expression representing the identified field |
Type Parameters
| Name | Description |
|---|---|
| TValue | Return type of the field identified by the field selector |