1. Stylelabs.M.Base.Querying.Linq

Class QueryableIdentifierExtensions

Extension method for QueryableIdentifier.

Inheritance

object

QueryableIdentifierExtensions

Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingLinq

Assembly: Stylelabs.M.Sdk.dll

Syntax

public static class QueryableIdentifierExtensions

Methods

In(QueryableIdentifier, IEnumerable)

The QueryableIdentifier should be at must one of the specified values. Note that QueryableIdentifier can be used for different types of filters (e.g. CreatedByUsername, DefinitionName, ...).

Declaration

public static bool In(this QueryableIdentifier value, IEnumerable<string> values)

Parameters

TypeNameDescription
QueryableIdentifiervalueThe value.
IEnumerable<>stringvaluesThe values to filter on.

Returns

TypeDescription
booltrue if the value is include in the collection, false otherwise.

In(QueryableIdentifier, params string[])

The QueryableIdentifier should be at must one of the specified values. Note thatQueryableIdentifier can be used for different types of filters (e.g.CreatedByUsername, DefinitionName, ...).

Declaration

public static bool In(this QueryableIdentifier value, params string[] values)

Parameters

TypeNameDescription
QueryableIdentifiervalueThe value.
stringvaluesThe values to filter on.

Returns

TypeDescription
booltrue if the value is include in the collection, false otherwise.
If you have suggestions for improving this article, let us know!