Class QueryablePropertyValueExtensions

Extension methods for QueryablePropertyValue.

Inheritance
object
QueryablePropertyValueExtensions
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingLinq
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public static class QueryablePropertyValueExtensions

Methods

Contains(QueryablePropertyValue, string)

The value of the (string) property must be contain the specified value.

Declaration
RequestResponse

public static bool Contains(this QueryablePropertyValue queryablePropertyValue, string value)
Parameters
TypeNameDescription
QueryablePropertyValuequeryablePropertyValue

The property.

stringvalue

The values to filter on.

Returns
TypeDescription
bool

true if contains the value, false otherwise.

EndsWith(QueryablePropertyValue, string)

The value of the (string) property must end with the specified value.

Declaration
RequestResponse

public static bool EndsWith(this QueryablePropertyValue queryablePropertyValue, string value)
Parameters
TypeNameDescription
QueryablePropertyValuequeryablePropertyValue

The property.

stringvalue

The values to filter on.

Returns
TypeDescription
bool

true if ends with, false otherwise.

In(QueryablePropertyValue, IEnumerable<object>)

The value of the property must be at least one of the specified values.

Declaration
RequestResponse

public static bool In(this QueryablePropertyValue value, IEnumerable<object> values)
Parameters
TypeNameDescription
QueryablePropertyValuevalue

The property.

IEnumerable<>objectvalues

The values to filter on.

Returns
TypeDescription
bool

true if the value is in the collection, false otherwise.

In(QueryablePropertyValue, params object[])

The value of the property must be at least one of the specified values.

Declaration
RequestResponse

public static bool In(this QueryablePropertyValue value, params object[] values)
Parameters
TypeNameDescription
QueryablePropertyValuevalue

The property.

objectvalues

The values to filter on.

Returns
TypeDescription
bool

true if the value is in the collection, false otherwise.

StartsWith(QueryablePropertyValue, string)

The value of the (string) property must start with the specified value.

Declaration
RequestResponse

public static bool StartsWith(this QueryablePropertyValue queryablePropertyValue, string value)
Parameters
TypeNameDescription
QueryablePropertyValuequeryablePropertyValue

The property.

stringvalue

The values to filter on.

Returns
TypeDescription
bool

true if starts with, false otherwise.

Do you have some feedback for us?

If you have suggestions for improving this article,