Table of Contents

Class ElementFilter

Namespace
JJMasterData.Commons.Data.Entity.Models
Assembly
JJMasterData.Commons.dll

Represents a filter element with a specified filter mode and requirement status.

public class ElementFilter
Inheritance
ElementFilter
Inherited Members

Remarks

2017-03-22 JJTeam

Constructors

ElementFilter()

Initializes a new instance of the ElementFilter class with the default filter mode.

public ElementFilter()

ElementFilter(FilterMode)

Represents a filter element with a specified filter mode and requirement status.

public ElementFilter(FilterMode type)

Parameters

type FilterMode

Remarks

2017-03-22 JJTeam

Properties

IsRequired

Gets or sets a value indicating whether the filter is required.

[JsonPropertyName("isrequired")]
[Display(Name = "Required")]
public bool IsRequired { get; set; }

Property Value

bool

Type

Gets or sets the filter mode.

[JsonPropertyName("type")]
[Display(Name = "Filter Mode")]
public FilterMode Type { get; set; }

Property Value

FilterMode

Methods

DeepCopy()

public ElementFilter DeepCopy()

Returns

ElementFilter