1. Stylelabs.M.Base.Querying.Linq

Class QueryablePropertyValue

Used by querying to compare property values.

Inheritance

object

QueryablePropertyValue

Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingLinq

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class QueryablePropertyValue

Operators

operator ==(QueryablePropertyValue, DateTime)

Equals datetime operator.

Declaration

public static bool operator ==(QueryablePropertyValue obj1, DateTime obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator ==(QueryablePropertyValue, DateTimeOffset)

Equals datetime offset operator.

Declaration

public static bool operator ==(QueryablePropertyValue obj1, DateTimeOffset obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeOffsetobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator ==(QueryablePropertyValue, bool)

Equals boolean operator.

Declaration

public static bool operator ==(QueryablePropertyValue obj1, bool obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
boolobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator ==(QueryablePropertyValue, decimal)

Equals decimal operator.

Declaration

public static bool operator ==(QueryablePropertyValue obj1, decimal obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
decimalobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator ==(QueryablePropertyValue, int)

Equals integer operator.

Declaration

public static bool operator ==(QueryablePropertyValue obj1, int obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
intobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator ==(QueryablePropertyValue, long)

Equals long operator.

Declaration

public static bool operator ==(QueryablePropertyValue obj1, long obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
longobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator ==(QueryablePropertyValue, float)

Equals float operator.

Declaration

public static bool operator ==(QueryablePropertyValue obj1, float obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
floatobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator ==(QueryablePropertyValue, string)

Equals string operator.

Declaration

public static bool operator ==(QueryablePropertyValue obj1, string obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
stringobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >(QueryablePropertyValue, DateTime)

Greater than datetime operator.

Declaration

public static bool operator >(QueryablePropertyValue obj1, DateTime obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >(QueryablePropertyValue, DateTimeOffset)

Greater than datetime offset operator.

Declaration

public static bool operator >(QueryablePropertyValue obj1, DateTimeOffset obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeOffsetobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >(QueryablePropertyValue, decimal)

Greater than decimal operator.

Declaration

public static bool operator >(QueryablePropertyValue obj1, decimal obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
decimalobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >(QueryablePropertyValue, int)

Greater than integer operator.

Declaration

public static bool operator >(QueryablePropertyValue obj1, int obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
intobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >(QueryablePropertyValue, long)

Greater than long operator.

Declaration

public static bool operator >(QueryablePropertyValue obj1, long obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
longobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >(QueryablePropertyValue, float)

Greater than float operator.

Declaration

public static bool operator >(QueryablePropertyValue obj1, float obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
floatobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >=(QueryablePropertyValue, DateTime)

Greater or equals to datetime operator.

Declaration

public static bool operator >=(QueryablePropertyValue obj1, DateTime obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >=(QueryablePropertyValue, DateTimeOffset)

Greater or equals to datetime offset operator.

Declaration

public static bool operator >=(QueryablePropertyValue obj1, DateTimeOffset obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeOffsetobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >=(QueryablePropertyValue, decimal)

Greater or equals to decimal operator.

Declaration

public static bool operator >=(QueryablePropertyValue obj1, decimal obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
decimalobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >=(QueryablePropertyValue, int)

Greater or equals to integer operator.

Declaration

public static bool operator >=(QueryablePropertyValue obj1, int obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
intobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >=(QueryablePropertyValue, long)

Greater or equals to long operator.

Declaration

public static bool operator >=(QueryablePropertyValue obj1, long obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
longobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator >=(QueryablePropertyValue, float)

Greater or equals to float operator.

Declaration

public static bool operator >=(QueryablePropertyValue obj1, float obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
floatobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

implicit operator bool(QueryablePropertyValue)

Equals operator.

Declaration

public static implicit operator bool(QueryablePropertyValue obj)

Parameters

TypeNameDescription
QueryablePropertyValueobjOperand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator !=(QueryablePropertyValue, DateTime)

Not equals datetime operator.

Declaration

public static bool operator !=(QueryablePropertyValue obj1, DateTime obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator !=(QueryablePropertyValue, DateTimeOffset)

Not equals datetime offset operator.

Declaration

public static bool operator !=(QueryablePropertyValue obj1, DateTimeOffset obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeOffsetobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator !=(QueryablePropertyValue, bool)

Not equals boolean operator.

Declaration

public static bool operator !=(QueryablePropertyValue obj1, bool obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
boolobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator !=(QueryablePropertyValue, decimal)

Not equals decimal operator.

Declaration

public static bool operator !=(QueryablePropertyValue obj1, decimal obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
decimalobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator !=(QueryablePropertyValue, int)

Not equals integer operator.

Declaration

public static bool operator !=(QueryablePropertyValue obj1, int obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
intobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator !=(QueryablePropertyValue, long)

Not equals long operator.

Declaration

public static bool operator !=(QueryablePropertyValue obj1, long obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
longobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator !=(QueryablePropertyValue, float)

Not equals float operator.

Declaration

public static bool operator !=(QueryablePropertyValue obj1, float obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
floatobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator !=(QueryablePropertyValue, string)

Not equals string operator.

Declaration

public static bool operator !=(QueryablePropertyValue obj1, string obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
stringobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <(QueryablePropertyValue, DateTime)

Less than datetime operator.

Declaration

public static bool operator <(QueryablePropertyValue obj1, DateTime obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <(QueryablePropertyValue, DateTimeOffset)

Less than datetime offset operator.

Declaration

public static bool operator <(QueryablePropertyValue obj1, DateTimeOffset obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeOffsetobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <(QueryablePropertyValue, decimal)

Less than decimal operator.

Declaration

public static bool operator <(QueryablePropertyValue obj1, decimal obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
decimalobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <(QueryablePropertyValue, int)

Less than integer operator.

Declaration

public static bool operator <(QueryablePropertyValue obj1, int obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
intobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <(QueryablePropertyValue, long)

Less than long operator.

Declaration

public static bool operator <(QueryablePropertyValue obj1, long obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
longobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <(QueryablePropertyValue, float)

Less than float operator.

Declaration

public static bool operator <(QueryablePropertyValue obj1, float obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
floatobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <=(QueryablePropertyValue, DateTime)

Less or equals to datetime operator.

Declaration

public static bool operator <=(QueryablePropertyValue obj1, DateTime obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <=(QueryablePropertyValue, DateTimeOffset)

Less or equals to datetime offset operator.

Declaration

public static bool operator <=(QueryablePropertyValue obj1, DateTimeOffset obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
DateTimeOffsetobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <=(QueryablePropertyValue, decimal)

Less or equals to decimal operator.

Declaration

public static bool operator <=(QueryablePropertyValue obj1, decimal obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
decimalobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <=(QueryablePropertyValue, int)

Less or equals to integer operator.

Declaration

public static bool operator <=(QueryablePropertyValue obj1, int obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
intobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <=(QueryablePropertyValue, long)

Less or equals to long operator.

Declaration

public static bool operator <=(QueryablePropertyValue obj1, long obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
longobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

operator <=(QueryablePropertyValue, float)

Less or equals to float operator.

Declaration

public static bool operator <=(QueryablePropertyValue obj1, float obj2)

Parameters

TypeNameDescription
QueryablePropertyValueobj1Left operand.
floatobj2Right operand.

Returns

TypeDescription
booltrue if the operator evaluates to true, false otherwise.

Extension Methods

QueryablePropertyValueExtensions.Contains(QueryablePropertyValue, string)

QueryablePropertyValueExtensions.EndsWith(QueryablePropertyValue, string)

QueryablePropertyValueExtensions.In(QueryablePropertyValue, IEnumerable)

QueryablePropertyValueExtensions.In(QueryablePropertyValue, params object[])

QueryablePropertyValueExtensions.StartsWith(QueryablePropertyValue, string)

If you have suggestions for improving this article, let us know!