C# Class Foundation.Server.Infrastructure.ODataFilterHelper

Mostrar archivo Open project: NVentimiglia/Unity3d-Foundation

Public Methods

Method Description
ApplyFilter ( IEnumerable list, ODataFilterItem item ) : IEnumerable
GetFilters ( string raw ) : Foundation.Server.Infrastructure.ODataFilterItem[]

Private Methods

Method Description
Contains ( JToken token, ODataFilterItem item ) : bool
EndsWith ( JToken token, ODataFilterItem item ) : bool
GreaterThan ( JToken token, ODataFilterItem item ) : bool
GreaterThanOrEquals ( JToken token, ODataFilterItem item ) : bool
LessThan ( JToken token, ODataFilterItem item ) : bool
LessThanOrEquals ( JToken token, ODataFilterItem item ) : bool
StartsWith ( JToken token, ODataFilterItem item ) : bool
WhereEquals ( JToken token, ODataFilterItem item ) : bool
WhereNotEquals ( JToken token, ODataFilterItem item ) : bool

Method Details

ApplyFilter() public method

public ApplyFilter ( IEnumerable list, ODataFilterItem item ) : IEnumerable
list IEnumerable
item ODataFilterItem
return IEnumerable

GetFilters() public method

public GetFilters ( string raw ) : Foundation.Server.Infrastructure.ODataFilterItem[]
raw string
return Foundation.Server.Infrastructure.ODataFilterItem[]