C# Class a7DocumentDbStudio.Filter.FltFlatGroupExprData

used now in a7Box for fields filter. A simple GroupFilter expression, that is flat, grouping only AtomicFilters (and not any filters) by one selected And/Join clause
Inheritance: FilterExpressionData, INotifyPropertyChanged, ICloneable
Exibir arquivo Open project: alekkowalczyk/a7DocumentDbStudio Class Usage Examples

Private Properties

Property Type Description
OnPropertyChanged void
this object

Public Methods

Method Description
Clone ( ) : FilterExpressionData

clones instance of this filter with cloning of all instances of contained atomic filters

FltFlatGroupExprData ( ) : System
FltFlatGroupExprData ( eAndOrJoin andOr ) : System
GetFilter ( string fieldName ) : FltAtomExprData

gets the filter for the given field name, if not existing creates a new not-active one with the default 'Contains' field operator

Reset ( ) : void
SetFieldFilter ( string fieldName, string value ) : void

sets the field filter, if not exist, creates it, with default 'Contains' operator. If value is empty string or null or white space, deactivates the filter

SetFieldFilterPropertyType ( string fieldName, PropertyType type ) : void
ToString ( ) : string
ToXml ( ) : System.Xml.Linq.XElement

Private Methods

Method Description
OnPropertyChanged ( string propName ) : void
this ( string key ) : object

Method Details

Clone() public method

clones instance of this filter with cloning of all instances of contained atomic filters
public Clone ( ) : FilterExpressionData
return FilterExpressionData

FltFlatGroupExprData() public method

public FltFlatGroupExprData ( ) : System
return System

FltFlatGroupExprData() public method

public FltFlatGroupExprData ( eAndOrJoin andOr ) : System
andOr eAndOrJoin
return System

GetFilter() public method

gets the filter for the given field name, if not existing creates a new not-active one with the default 'Contains' field operator
public GetFilter ( string fieldName ) : FltAtomExprData
fieldName string
return FltAtomExprData

Reset() public method

public Reset ( ) : void
return void

SetFieldFilter() public method

sets the field filter, if not exist, creates it, with default 'Contains' operator. If value is empty string or null or white space, deactivates the filter
public SetFieldFilter ( string fieldName, string value ) : void
fieldName string
value string
return void

SetFieldFilterPropertyType() public method

public SetFieldFilterPropertyType ( string fieldName, PropertyType type ) : void
fieldName string
type PropertyType
return void

ToString() public method

public ToString ( ) : string
return string

ToXml() public method

public ToXml ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement