C# Class Rubber.DSL.Sort.ScriptSortBuilder

Script sort builder allows to sort based on a custom script expression.
Inheritance: ISortBuilder
Afficher le fichier Open project: stephenpope/Rubber

Méthodes publiques

Méthode Description
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

Method Details

Lang() public méthode

The language of the script.
public Lang ( string lang ) : ScriptSortBuilder
lang string
Résultat ScriptSortBuilder

Missing() public méthode

Not really relevant.
public Missing ( object missing ) : ISortBuilder
missing object
Résultat ISortBuilder

Order() public méthode

Sets the sort order.
public Order ( SortOrder order ) : ISortBuilder
order SortOrder
Résultat ISortBuilder

Param() public méthode

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.
Résultat ScriptSortBuilder

ScriptSortBuilder() public méthode

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".
Résultat System.Collections.Generic

ToJsonObject() public méthode

public ToJsonObject ( ) : object
Résultat object

ToString() public méthode

public ToString ( ) : string
Résultat string