C# Class CrownPeak.SearchG2.Query.FilterQuery

Class that wraps a single filter query operation when executing a CrownPeak.SearchG2.PlainSearch or a CrownPeak.SearchG2.Search{T} on a CrownPeak SearchG2 collection.
Exibir arquivo Open project: Crownpeak/Search-Results-Examples Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether two specified FilterQuery objects have the same value.

FilterQuery ( ) : System

Create a new FilterQuery object with an empty Field and Value.

FilterQuery ( string filterQuery ) : System

Create a new FilterQuery object with a string containing both the Field and the Value.

FilterQuery ( string field, string value ) : System

Create a new FilterQuery object with provided Field and Value.

GetHashCode ( ) : int

Returns this hash code for this instance.

ToString ( ) : string

Return a string that represents the current FilterQuery.

Method Details

Equals() public method

Determines whether two specified FilterQuery objects have the same value.
public Equals ( object obj ) : bool
obj object The object to compare to this instance
return bool

FilterQuery() public method

Create a new FilterQuery object with an empty Field and Value.
public FilterQuery ( ) : System
return System

FilterQuery() public method

Create a new FilterQuery object with a string containing both the Field and the Value.
public FilterQuery ( string filterQuery ) : System
filterQuery string and in the format /// field:value.
return System

FilterQuery() public method

Create a new FilterQuery object with provided Field and Value.
public FilterQuery ( string field, string value ) : System
field string The that this applies to.
value string The that the must match.
return System

GetHashCode() public method

Returns this hash code for this instance.
public GetHashCode ( ) : int
return int

ToString() public method

Return a string that represents the current FilterQuery.
public ToString ( ) : string
return string