C# Class Rebel.Cms.Web.LinqSupport.ViewModelStructureBinder

Provides a mechanism to assess certain types of expression and determine whether they are supported by the expression binding provider.
Inheritance: Rebel.Framework.Persistence.Model.LinqSupport.PersistenceModelStructureBinder
Mostra file Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
CreateFieldSelector ( MethodCallExpression expression, BindingSignatureSupport reportedSignatureSupport ) : FieldSelectorExpression

Creates a FieldSelectorExpression from a MethodCallExpression.

CreateFieldSelector ( string fieldName, string innerFieldName, BindingSignatureSupport reportedSignatureSupport ) : FieldSelectorExpression

Creates a field selector.

IsSupportedMember ( MemberExpression expression ) : BindingSignatureSupport

Determines whether the expression represents a supported member access call.

IsSupportedMethod ( MethodCallExpression expression ) : BindingSignatureSupport

Method Details

CreateFieldSelector() public method

Creates a FieldSelectorExpression from a MethodCallExpression.
public CreateFieldSelector ( MethodCallExpression expression, BindingSignatureSupport reportedSignatureSupport ) : FieldSelectorExpression
expression System.Linq.Expressions.MethodCallExpression The expression.
reportedSignatureSupport Rebel.Framework.Linq.CriteriaGeneration.StructureMetadata.BindingSignatureSupport A component outlining the supported expression structure of this provider.
return FieldSelectorExpression

CreateFieldSelector() public method

Creates a field selector.
public CreateFieldSelector ( string fieldName, string innerFieldName, BindingSignatureSupport reportedSignatureSupport ) : FieldSelectorExpression
fieldName string Name of the field.
innerFieldName string Name of the inner field.
reportedSignatureSupport Rebel.Framework.Linq.CriteriaGeneration.StructureMetadata.BindingSignatureSupport The reported signature support.
return FieldSelectorExpression

IsSupportedMember() public method

Determines whether the expression represents a supported member access call.
public IsSupportedMember ( MemberExpression expression ) : BindingSignatureSupport
expression System.Linq.Expressions.MemberExpression The expression.
return Rebel.Framework.Linq.CriteriaGeneration.StructureMetadata.BindingSignatureSupport

IsSupportedMethod() public method

public IsSupportedMethod ( MethodCallExpression expression ) : BindingSignatureSupport
expression System.Linq.Expressions.MethodCallExpression
return Rebel.Framework.Linq.CriteriaGeneration.StructureMetadata.BindingSignatureSupport