Class RuntimeFilter
Runtime value filter
Inherited Members
Namespace: XData.DataSource.Structure
Assembly: XData.docfx.dll
Syntax
public sealed class RuntimeFilter
Constructors
| Improve this Doc View SourceRuntimeFilter(String, String)
Runtime filter constructor
Declaration
public RuntimeFilter(string propertyName, string filterName = null)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | Filter property name |
String | filterName | Filter name |
Properties
| Improve this Doc View SourceCombination
Filter combination name
Declaration
public string Combination { get; set; }
Property Value
Type | Description |
---|---|
String |
Name
Filter name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
Nullable
Filter null value handling
Declaration
public FilterNullable Nullable { get; set; }
Property Value
Type | Description |
---|---|
FilterNullable |
Operation
Filter operation
Declaration
public FilterOperation Operation { get; set; }
Property Value
Type | Description |
---|---|
FilterOperation |
PrimaryFilter
Primary filter flag
Declaration
public bool PrimaryFilter { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
PropertyName
Property name
Declaration
public string PropertyName { get; }
Property Value
Type | Description |
---|---|
String |
Operators
| Improve this Doc View SourceImplicit(String to RuntimeFilter)
Cast operator for runtime filter based on property
Declaration
public static implicit operator RuntimeFilter(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | Property name |
Returns
Type | Description |
---|---|
RuntimeFilter |
Implicit(FilterName to RuntimeFilter)
Cast operator for named runtime filter
Declaration
public static implicit operator RuntimeFilter(FilterName filterName)
Parameters
Type | Name | Description |
---|---|---|
FilterName | filterName | Filter name |
Returns
Type | Description |
---|---|
RuntimeFilter |