C# Class HBS.Data.Utilities.Filter

Mostrar archivo Open project: heartbeatservice/HeartbeatServiceSolution

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