Class QueryablePropertyValueExtensions
Extension methods for QueryablePropertyValue.
Inheritance
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingLinq
Assembly: Stylelabs.M.Sdk.dll
Syntax
public static class QueryablePropertyValueExtensions
Methods
Contains(QueryablePropertyValue, string)
The value of the (string) property must be contain the specified value
.
Declaration
public static bool Contains(this QueryablePropertyValue queryablePropertyValue, string value)
Parameters
Type | Name | Description |
---|---|---|
QueryablePropertyValue | queryablePropertyValue |
The property. |
string | value |
The values to filter on. |
Returns
Type | Description |
---|---|
bool |
true if contains the value, false otherwise. |
EndsWith(QueryablePropertyValue, string)
The value of the (string) property must end with the specified value
.
Declaration
public static bool EndsWith(this QueryablePropertyValue queryablePropertyValue, string value)
Parameters
Type | Name | Description |
---|---|---|
QueryablePropertyValue | queryablePropertyValue |
The property. |
string | value |
The values to filter on. |
Returns
Type | Description |
---|---|
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
public static bool In(this QueryablePropertyValue value, IEnumerable<object> values)
Parameters
Type | Name | Description |
---|---|---|
QueryablePropertyValue | value |
The property. |
IEnumerable<>object | values |
The values to filter on. |
Returns
Type | Description |
---|---|
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
public static bool In(this QueryablePropertyValue value, params object[] values)
Parameters
Type | Name | Description |
---|---|---|
QueryablePropertyValue | value |
The property. |
object | values |
The values to filter on. |
Returns
Type | Description |
---|---|
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
public static bool StartsWith(this QueryablePropertyValue queryablePropertyValue, string value)
Parameters
Type | Name | Description |
---|---|---|
QueryablePropertyValue | queryablePropertyValue |
The property. |
string | value |
The values to filter on. |
Returns
Type | Description |
---|---|
bool |
true if starts with, false otherwise. |