Represents a filter expression for use with the grids and data sources.

Inheritance

Implements
  • IComponent
  • IHandleEvent
  • IHandleAfterRender
  • JsonSerializable

constructor

public IgbFilterExpression()

Returns IgbFilterExpression

Inherited from: BaseRendererElement

[Inject]
protected IIgniteUIBlazor IgBlazor { get; set; }

Inherited from: BaseRendererElement

public bool IsComponentRooted { get; }

Inherited from: BaseRendererElement

protected virtual string ParentTypeName { get; }

Inherited from: BaseRendererElement

protected virtual bool UseDirectRender { get; }

Inherited from: BaseRendererElement

[Parameter]
public RenderFragment ChildContent { get; set; }

Inherited from: BaseRendererElement

protected virtual bool SupportsVisualChildren { get; }

Inherited from: BaseRendererElement

[Parameter]
public string Name { get; set; }

Inherited from: BaseRendererElement

public object Parent { get; }

Inherited from: BaseRendererElement

protected virtual string MethodTarget { get; }

Inherited from: BaseRendererElement

protected object CurrParent { get; }
public bool IsAutoGenerated { get; protected set; }

Gets whether the expression is a function.

public virtual bool IsFunction { get; protected set; }

Gets whether the expression is a literal.

public virtual bool IsLiteral { get; protected set; }

Gets whether the expresssion is null.

public virtual bool IsNull { get; protected set; }

Gets whether the expression is an operation.

public virtual bool IsOperation { get; protected set; }

Gets whether the expression is a property reference.

public virtual bool IsPropertyReference { get; protected set; }

Gets whether the expression is a wrapper expression.

public virtual bool IsWrapper { get; protected set; }
public virtual int Precedence { get; protected set; }
public override string Type { get; }

Inherited from: BaseRendererElement

protected string _name

Inherited from: BaseRendererElement

protected Dictionary<Type, Dictionary<string, FieldInfo>> eventCallbacksCache

Inherited from: BaseRendererElement

protected string _cachedSerializedContent

Inherited from: BaseRendererElement

protected virtual void EnsureModulesLoaded()

Returns any

Inherited from: BaseRendererElement

protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

  • builder: RenderTreeBuilder

Returns any

OnElementNameChanged(BaseRendererElement, string, string)

Section titled "OnElementNameChanged(BaseRendererElement, string, string)"

Inherited from: BaseRendererElement

protected void OnElementNameChanged(BaseRendererElement element, string oldName, string newName)

Parameters

  • element: BaseRendererElement
  • oldName: string
  • newName: string

Returns any

InvokeMethod(string, object[], string[], ElementReference[])

Section titled "InvokeMethod(string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected Task<object> InvokeMethod(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodSync(string, object[], string[], ElementReference[])

Section titled "InvokeMethodSync(string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected object InvokeMethodSync(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodHelper(string, string, object[], string[], ElementReference[])

Section titled "InvokeMethodHelper(string, string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected Task<object> InvokeMethodHelper(string target, string methodName, object[] arguments, string[] types, ElementReference[] nativeElements)

Parameters

  • target: string
  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodHelperSync(string, string, object[], string[], ElementReference[])

Section titled "InvokeMethodHelperSync(string, string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected object InvokeMethodHelperSync(string target, string methodName, object[] arguments, string[] types, ElementReference[] nativeElements)

Parameters

  • target: string
  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

Inherited from: BaseRendererElement

protected bool IsPropDirty(string propertyName)

Parameters

  • propertyName: string

Returns any

Serialize(SerializationContext, string)

Section titled "Serialize(SerializationContext, string)"

Inherited from: BaseRendererElement

public void Serialize(SerializationContext context, string propertyName = null)

Parameters

  • context: SerializationContext
  • propertyName: string

Returns any

Inherited from: BaseRendererElement

public string Serialize()

Returns any

Inherited from: BaseRendererElement

protected void EnsureValid()

Returns any

SetResourceStringAsync(string, string, string)

Section titled "SetResourceStringAsync(string, string, string)"

Inherited from: BaseRendererElement

protected Task<object> SetResourceStringAsync(string grouping, string id, string value)

Parameters

  • grouping: string
  • id: string
  • value: string

Returns any

SetResourceStringAsync(string, string)

Section titled "SetResourceStringAsync(string, string)"

Inherited from: BaseRendererElement

protected Task<object> SetResourceStringAsync(string grouping, string json)

Parameters

  • grouping: string
  • json: string

Returns any

Returns an expression that is an Add expression of the current expression and right.

public IgbFilterExpression Add(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an Add expression of the current expression and literal value.

public IgbFilterExpression Add(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is an And expression of the current expression and right.

public IgbFilterExpression And(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an Cast expression of the current expression and propertyType.

public IgbFilterExpression Cast(DataSourceSchemaPropertyType propertyType)

Parameters

  • propertyType: DataSourceSchemaPropertyType

Returns any

Returns an expression that is an Cast expression of the current expression and propertyType.

public IgbFilterExpression Cast(string objectType)

Parameters

  • objectType: string

Returns any

Returns an expression that is an Ceiling expression of the current expression.

public IgbFilterExpression Ceiling()

Returns any

Returns an expression that is an Concat expression of the current expression and toAppend.

public IgbFilterExpression Concat(IgbFilterExpression toAppend)

Parameters

  • toAppend: IgbFilterExpression

Returns any

Returns an expression that is an Contains expression of the current expression and subString.

public IgbFilterExpression Concat(string toAppend)

Parameters

  • toAppend: string

Returns any

Returns an expression that is an Contains expression of the current expression and subString.

public IgbFilterExpression Contains(IgbFilterExpression subString)

Parameters

  • subString: IgbFilterExpression

Returns any

Returns an expression that is an Contains expression of the current expression and subString.

public IgbFilterExpression Contains(string subString)

Parameters

  • subString: string

Returns any

Returns an expression that is an Date expression of the current expression.

public IgbFilterExpression Date()

Returns any

Returns an expression that is an Day expression of the current expression.

public IgbFilterExpression Day()

Returns any

Returns an expression that is a Divide expression of the current expression and right.

public IgbFilterExpression Divide(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is a Divide expression of the current expression and literalValue.

public IgbFilterExpression Divide(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is a Divide expression of the current expression and right.

public IgbFilterExpression DividedBy(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is a Divide expression of the current expression and literalValue.

public IgbFilterExpression DividedBy(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is an EndsWith expression of the current expression and subString.

public IgbFilterExpression EndsWith(IgbFilterExpression subString)

Parameters

  • subString: IgbFilterExpression

Returns any

Returns an expression that is an EndsWith expression of the current expression and subString.

public IgbFilterExpression EndsWith(string subString)

Parameters

  • subString: string

Returns any

public IgbFilterExpression Env(string varName)

Parameters

  • varName: string

Returns any

Returns an environment variable, if applicable.

public Task<IgbFilterExpression> EnvAsync(string varName)

Parameters

  • varName: string

Returns any

public override object FindByName(string name)

Parameters

  • name: string

Returns any

Returns an expression that is a Floor expression of the current expression.

public IgbFilterExpression Floor()

Returns any

FromEventJson(BaseRendererControl, Dictionary<string, object>)

Section titled "FromEventJson(BaseRendererControl, Dictionary<string, object>)"
protected override void FromEventJson(BaseRendererControl control, Dictionary<string, object> args)

Parameters

  • control: BaseRendererControl
  • args: Dictionary

Returns any

Function(FilterExpressionFunctionType, params IgbFilterExpression[])

Section titled "Function(FilterExpressionFunctionType, params IgbFilterExpression[])"

Creates an function filter expression.

public static IgbFunctionFilterExpression Function(FilterExpressionFunctionType func, params IgbFilterExpression[] args)

Parameters

  • func: FilterExpressionFunctionType
  • args: IgbFilterExpression[]

Returns any

Returns an expression that is a group expression of the current expression.

public IgbFilterExpression Group()

Returns any

Returns an expression that is an Hour expression of the current expression.

public IgbFilterExpression Hour()

Returns any

Returns an expression that is an IndexOf expression of the current expression and toFind.

public IgbFilterExpression IndexOf(IgbFilterExpression toFind)

Parameters

  • toFind: IgbFilterExpression

Returns any

Returns an expression that is an IndexOf expression of the current expression and toFind.

public IgbFilterExpression IndexOf(string toFind)

Parameters

  • toFind: string

Returns any

Returns an expression that is an IsEqualTo expression of the current expression and right.

public IgbFilterExpression IsEqualTo(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an IsEqualTo expression of the current expression and right.

public IgbFilterExpression IsEqualTo(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is an IsGreaterThan expression of the current expression and right.

public IgbFilterExpression IsGreaterThan(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an IsGreaterThan expression of the current expression and right.

public IgbFilterExpression IsGreaterThan(object literalValue)

Parameters

  • literalValue: object

Returns any

IsGreaterThanOrEqualTo(IgbFilterExpression)

Section titled "IsGreaterThanOrEqualTo(IgbFilterExpression)"

Returns an expression that is an IsGreaterThanOrEqualTo expression of the current expression and right.

public IgbFilterExpression IsGreaterThanOrEqualTo(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an IsGreaterThanOrEqualTo expression of the current expression and right.

public IgbFilterExpression IsGreaterThanOrEqualTo(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is an IsLessThan expression of the current expression and right.

public IgbFilterExpression IsLessThan(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an IsGreaterThanOrEqualTo expression of the current expression and right.

public IgbFilterExpression IsLessThan(object literalValue)

Parameters

  • literalValue: object

Returns any

IsLessThanOrEqualTo(IgbFilterExpression)

Section titled "IsLessThanOrEqualTo(IgbFilterExpression)"

Returns an expression that is an IsLessThanOrEqualTo expression of the current expression and right.

public IgbFilterExpression IsLessThanOrEqualTo(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an IsGreaterThanOrEqualTo expression of the current expression and right.

public IgbFilterExpression IsLessThanOrEqualTo(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is an IsNotEqualTo expression of the current expression and right.

public IgbFilterExpression IsNotEqualTo(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an IsNotEqualTo expression of the current expression and right.

public IgbFilterExpression IsNotEqualTo(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is an IsOf expression of the current expression and propertyType.

public IgbFilterExpression IsOf(DataSourceSchemaPropertyType propertyType)

Parameters

  • propertyType: DataSourceSchemaPropertyType

Returns any

Returns an expression that is an IsOf expression of the current expression and propertyType.

public IgbFilterExpression IsOf(string objectType)

Parameters

  • objectType: string

Returns any

Returns an expression that is an Length expression of the current expression.

public IgbFilterExpression Length()

Returns any

Builds a literal value expression for the provided value.

public static IgbLiteralFilterExpression Literal(object literal)

Parameters

  • literal: object

Returns any

public void MarkAutoGenerated()

Returns any

public Task MarkAutoGeneratedAsync()

Returns any

Returns an expression that is an Subtract expression of the current expression and right.

public IgbFilterExpression Minus(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an Subtract expression of the current expression and right.

public IgbFilterExpression Minus(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is an Minute expression of the current expression.

public IgbFilterExpression Minute()

Returns any

Returns an expression that is an Modulus expression of the current expression and right.

public IgbFilterExpression Modulo(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an Modulus expression of the current expression and right.

public IgbFilterExpression Modulo(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is an Month expression of the current expression.

public IgbFilterExpression Month()

Returns any

Returns an expression that is an Multiply expression of the current expression and right.

public IgbFilterExpression Multiply(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an Multiply expression of the current expression and right.

public IgbFilterExpression Multiply(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is a Not expression of the current expression.

public IgbFilterExpression Not()

Returns any

Returns an expression that is an Now expression.

public IgbFilterExpression Now()

Returns any

Builds a null literal expression.

public static IgbLiteralFilterExpression NullLiteral()

Returns any

Operation(IgbFilterExpression, FilterExpressionOperatorType, IgbFilterExpression)

Section titled "Operation(IgbFilterExpression, FilterExpressionOperatorType, IgbFilterExpression)"

Creates an operator filter expression.

public static IgbOperationFilterExpression Operation(IgbFilterExpression left, FilterExpressionOperatorType op, IgbFilterExpression right)

Parameters

  • left: IgbFilterExpression
  • op: FilterExpressionOperatorType
  • right: IgbFilterExpression

Returns any

Operation(IgbFilterExpression, FilterExpressionOperatorType, object)

Section titled "Operation(IgbFilterExpression, FilterExpressionOperatorType, object)"

Creates an operator filter expression.

public static IgbOperationFilterExpression Operation(IgbFilterExpression left, FilterExpressionOperatorType op, object value)

Parameters

  • left: IgbFilterExpression
  • op: FilterExpressionOperatorType
  • value: object

Returns any

Operation(string, FilterExpressionOperatorType, IgbFilterExpression)

Section titled "Operation(string, FilterExpressionOperatorType, IgbFilterExpression)"

Creates an operator filter expression.

public static IgbOperationFilterExpression Operation(string propertyName, FilterExpressionOperatorType op, IgbFilterExpression right)

Parameters

  • propertyName: string
  • op: FilterExpressionOperatorType
  • right: IgbFilterExpression

Returns any

Operation(string, FilterExpressionOperatorType, object)

Section titled "Operation(string, FilterExpressionOperatorType, object)"

Creates an operator filter expression.

public static IgbOperationFilterExpression Operation(string propertyName, FilterExpressionOperatorType op, object value)

Parameters

  • propertyName: string
  • op: FilterExpressionOperatorType
  • value: object

Returns any

Returns an expression that is an Or expression of the current expression and right.

public IgbFilterExpression Or(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an Add expression of the current expression and right.

public IgbFilterExpression Plus(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an Add expression of the current expression and literalValue.

public IgbFilterExpression Plus(object literalValue)

Parameters

  • literalValue: object

Returns any

Builds a property access expression for the provided property.

public static IgbPropertyReferenceFilterExpression Property(string propertyName)

Parameters

  • propertyName: string

Returns any

Replace(IgbFilterExpression, IgbFilterExpression)

Section titled "Replace(IgbFilterExpression, IgbFilterExpression)"

Returns an expression that is an Replace expression of the current expression.

public IgbFilterExpression Replace(IgbFilterExpression toFind, IgbFilterExpression replacement)

Parameters

  • toFind: IgbFilterExpression
  • replacement: IgbFilterExpression

Returns any

Replace(IgbFilterExpression, string)

Section titled "Replace(IgbFilterExpression, string)"

Returns an expression that is an Replace expression of the current expression.

public IgbFilterExpression Replace(IgbFilterExpression toFind, string replacement)

Parameters

  • toFind: IgbFilterExpression
  • replacement: string

Returns any

Replace(string, IgbFilterExpression)

Section titled "Replace(string, IgbFilterExpression)"

Returns an expression that is an Replace expression of the current expression.

public IgbFilterExpression Replace(string toFind, IgbFilterExpression replacement)

Parameters

  • toFind: string
  • replacement: IgbFilterExpression

Returns any

Returns an expression that is an Replace expression of the current expression.

public IgbFilterExpression Replace(string toFind, string replacement)

Parameters

  • toFind: string
  • replacement: string

Returns any

Returns an expression that is an Round expression of the current expression.

public IgbFilterExpression Round()

Returns any

Returns an expression that is an Second expression of the current expression.

public IgbFilterExpression Second()

Returns any

Returns an expression that is an StartsWith expression of the current expression.

public IgbFilterExpression StartsWith(IgbFilterExpression subString)

Parameters

  • subString: IgbFilterExpression

Returns any

Returns an expression that is an StartsWith expression of the current expression.

public IgbFilterExpression StartsWith(string subString)

Parameters

  • subString: string

Returns any

Returns an expression that is an Substring expression of the current expression.

public IgbFilterExpression Substring(IgbFilterExpression startIndex)

Parameters

  • startIndex: IgbFilterExpression

Returns any

Substring(IgbFilterExpression, IgbFilterExpression)

Section titled "Substring(IgbFilterExpression, IgbFilterExpression)"

Returns an expression that is an Substring expression of the current expression.

public IgbFilterExpression Substring(IgbFilterExpression startIndex, IgbFilterExpression length)

Parameters

  • startIndex: IgbFilterExpression
  • length: IgbFilterExpression

Returns any

Substring(IgbFilterExpression, int)

Section titled "Substring(IgbFilterExpression, int)"

Returns an expression that is an Substring expression of the current expression.

public IgbFilterExpression Substring(IgbFilterExpression startIndex, int length)

Parameters

  • startIndex: IgbFilterExpression
  • length: int

Returns any

Returns an expression that is an Substring expression of the current expression.

public IgbFilterExpression Substring(int startIndex)

Parameters

  • startIndex: int

Returns any

Substring(int, IgbFilterExpression)

Section titled "Substring(int, IgbFilterExpression)"

Returns an expression that is an Substring expression of the current expression.

public IgbFilterExpression Substring(int startIndex, IgbFilterExpression length)

Parameters

  • startIndex: int
  • length: IgbFilterExpression

Returns any

Returns an expression that is an Substring expression of the current expression.

public IgbFilterExpression Substring(int startIndex, int length)

Parameters

  • startIndex: int
  • length: int

Returns any

Returns an expression that is an Subtract expression of the current expression and right.

public IgbFilterExpression Subtract(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an Subtract expression of the current expression and right.

public IgbFilterExpression Subtract(object literalValue)

Parameters

  • literalValue: object

Returns any

Returns an expression that is an Time expression of the current expression.

public IgbFilterExpression Time()

Returns any

Returns an expression that is an Multiply expression of the current expression and right.

public IgbFilterExpression Times(IgbFilterExpression right)

Parameters

  • right: IgbFilterExpression

Returns any

Returns an expression that is an Multiply expression of the current expression and right.

public IgbFilterExpression Times(object literalValue)

Parameters

  • literalValue: object

Returns any

ToEventJson(BaseRendererControl, Dictionary<string, object>)

Section titled "ToEventJson(BaseRendererControl, Dictionary<string, object>)"
protected override void ToEventJson(BaseRendererControl control, Dictionary<string, object> args)

Parameters

  • control: BaseRendererControl
  • args: Dictionary

Returns any

Returns an expression that is an ToLower expression of the current expression.

public IgbFilterExpression ToLower()

Returns any

Returns an expression that is an ToUpper expression of the current expression.

public IgbFilterExpression ToUpper()

Returns any

Returns an expression that is an Trim expression of the current expression.

public IgbFilterExpression Trim()

Returns any

Builds a literal value expression for the provided value which should be left unquoted.

public static IgbLiteralFilterExpression UnquotedLiteral(string literal)

Parameters

  • literal: string

Returns any

Returns an expression that is an Year expression of the current expression.

public IgbFilterExpression Year()

Returns any