Class DefinitionQueryFilter

Filters on entities of specified definition(s).

Inheritance
object
DefinitionQueryFilter
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingFilters
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class DefinitionQueryFilter : QueryFilter

Properties

Id

Gets or sets definition-id to filter on.

Declaration
RequestResponse
public long? Id { get; set; }
Property Value
TypeDescription
long

Ids

Gets or sets definition-ids to filter on. If multiple values are specified, the filter will combine them using "OR" (essentially an IN-clause).

Declaration
RequestResponse
public IEnumerable<long> Ids { get; set; }
Property Value
TypeDescription
IEnumerable<>long

Name

Gets or sets name of the definition to filter on.

Declaration
RequestResponse
public string Name { get; set; }
Property Value
TypeDescription
string

Names

Gets or sets names of the definitions to filter on. If multiple values are specified, the filter will combine them using "OR" (essentially an IN-clause).

Declaration
RequestResponse
public IEnumerable<string> Names { get; set; }
Property Value
TypeDescription
IEnumerable<>string

Operator

Gets or sets the operator used to compare the value(s). Must be either Equals or NotEquals.

Declaration
RequestResponse
public ComparisonOperator Operator { get; set; }
Property Value
TypeDescription
ComparisonOperator

Type

Gets the type of the filter.

Declaration
RequestResponse
public override FilterType Type { get; }
Property Value
TypeDescription
FilterType
Overrides

Methods

Accept(IFilterVisitor)

Accepts a query visitor.

Declaration
RequestResponse
public override void Accept(IFilterVisitor visitor)
Parameters
TypeNameDescription
IFilterVisitorvisitor

The visitor to accept.

Overrides

Do you have some feedback for us?

If you have suggestions for improving this article,