Table of Contents

Class SearchSort

Namespace
InSite.Domain.Reports
Assembly
Shift.Sdk.dll
public class SearchSort
Inheritance
SearchSort
Inherited Members
Extension Methods

Constructors

SearchSort()

public SearchSort()

Properties

Fields

public IReadOnlyList<SearchSort.SearchSortField> Fields { get; }

Property Value

IReadOnlyList<SearchSort.SearchSortField>

Mappings

public IDictionary<string, IEnumerable<SearchSort.SearchSortField>> Mappings { get; }

Property Value

IDictionary<string, IEnumerable<SearchSort.SearchSortField>>

Order

public SortOrder Order { get; }

Property Value

SortOrder

Methods

AddMapping(string, string)

public void AddMapping(string name, string expression)

Parameters

name string
expression string

Create(string, SortOrder)

public static SearchSort Create(string expression, SortOrder order)

Parameters

expression string
order SortOrder

Returns

SearchSort

Create(string, string)

public static SearchSort Create(string expression, string order)

Parameters

expression string
order string

Returns

SearchSort

GetExpression(bool)

public string GetExpression(bool compile = true)

Parameters

compile bool

Returns

string

RemoveMapping(string)

public void RemoveMapping(string name)

Parameters

name string