C# 클래스 Rubber.DSL.Sort.ScriptSortBuilder

Script sort builder allows to sort based on a custom script expression.
상속: ISortBuilder
파일 보기 프로젝트 열기: stephenpope/Rubber

공개 메소드들

메소드 설명
Lang ( string lang ) : ScriptSortBuilder

The language of the script.

Missing ( object missing ) : ISortBuilder

Not really relevant.

Order ( SortOrder order ) : ISortBuilder

Sets the sort order.

Param ( string name, object value ) : ScriptSortBuilder

A parameter that will be passed to the script.

ScriptSortBuilder ( string script, string type ) : System.Collections.Generic

Constructs a script sort builder with the script and the type.

ToJsonObject ( ) : object
ToString ( ) : string

메소드 상세

Lang() 공개 메소드

The language of the script.
public Lang ( string lang ) : ScriptSortBuilder
lang string
리턴 ScriptSortBuilder

Missing() 공개 메소드

Not really relevant.
public Missing ( object missing ) : ISortBuilder
missing object
리턴 ISortBuilder

Order() 공개 메소드

Sets the sort order.
public Order ( SortOrder order ) : ISortBuilder
order SortOrder
리턴 ISortBuilder

Param() 공개 메소드

A parameter that will be passed to the script.
public Param ( string name, object value ) : ScriptSortBuilder
name string The name of the script parameter.
value object The value of the script parameter.
리턴 ScriptSortBuilder

ScriptSortBuilder() 공개 메소드

Constructs a script sort builder with the script and the type.
public ScriptSortBuilder ( string script, string type ) : System.Collections.Generic
script string The script to use.
type string The type, can either be "string" or "number".
리턴 System.Collections.Generic

ToJsonObject() 공개 메소드

public ToJsonObject ( ) : object
리턴 object

ToString() 공개 메소드

public ToString ( ) : string
리턴 string