Skip to main content

FieldFilter

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories.Query

Field filter object for use in queries

public class FieldFilter

Inheritance ObjectFieldFilter

Properties

AttributeName

Gets the name of the attribute to compare

public string AttributeName { get; }

Property Value

String

Operator

The operator to use for the comparison

public FieldFilterOperator Operator { get; }

Property Value

FieldFilterOperator

ComparisonValue

The value to compare with

public object ComparisonValue { get; }

Property Value

Object

Constructors

FieldFilter(String, FieldFilterOperator, Object)

Creates a new instance of FieldFilter

public FieldFilter(string attributeName, FieldFilterOperator comparisonOperator, object comparisonValue)

Parameters

attributeName String
The name of the attribute to compare

comparisonOperator FieldFilterOperator
Operator to use for the comparison

comparisonValue Object
The value to compare with

Methods

ToString()

public string ToString()

Returns

String