C# Class Utility.DynamicFiltering.Filter

ファイルを表示 Open project: rabbal/Mvc5

Private Properties

Property Type Description
Collect void

Public Methods

Method Description
All ( ) : IList

Get a flattened list of all child filter expressions.

ToExpression ( IList filters ) : string

Converts the filter expression to a predicate suitable for Dynamic Linq e.g. "Field1 = @1 and Field2.Contains(@2)"

Private Methods

Method Description
Collect ( IList filters ) : void

Method Details

All() public method

Get a flattened list of all child filter expressions.
public All ( ) : IList
return IList

ToExpression() public method

Converts the filter expression to a predicate suitable for Dynamic Linq e.g. "Field1 = @1 and Field2.Contains(@2)"
public ToExpression ( IList filters ) : string
filters IList A list of flattened filters.
return string