Interface IAimpDataFilterGroup
Provides an ability to group few filters.
Namespace: AIMP.SDK.MusicLibrary.DataFilter
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpDataFilterGroup
Properties
Operation
Gets or sets the rule processing results from subsidiaries filters.
Declaration
FilterGroupOperationType Operation { get; set; }
Methods
Add(String, Object, Object, FieldFilterOperationType)
Adds the new child filter to the group.
Declaration
AimpActionResult<IAimpDataFieldFilter> Add(string field, object value1, object value2, FieldFilterOperationType operation)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | The field name. |
System.Object | value1 | The value1. |
System.Object | value2 | The value2. |
FieldFilterOperationType | operation | The rule processing results from subsidiaries filters. |
Add(String, Object[], Int32)
Adds the specified field.
Declaration
AimpActionResult<IAimpDataFieldFilterByArray> Add(string field, object[] values, int count)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | The field. |
System.Object[] | values | The values. |
System.Int32 | count | The count. |
AddGroup()
Adds the child group.
Declaration
AimpActionResult<IAimpDataFilterGroup> AddGroup()
BeginUpdate()
Begins the update.
Declaration
void BeginUpdate()
Clear()
Clears the filter.
Declaration
AimpActionResult Clear()
Delete(Int32)
Deletes the filter by specified index.
Declaration
AimpActionResult Delete(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
EndUpdate()
Ends the update.
Declaration
void EndUpdate()
GetChildCount()
Gets the child count.
Declaration
int GetChildCount()
GetFieldFilter(Int32)
Gets the child field filter by index.
Declaration
AimpActionResult<IAimpDataFieldFilter> GetFieldFilter(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
GetFilterGroup(Int32)
Gets the child group by index.
Declaration
AimpActionResult<IAimpDataFilterGroup> GetFilterGroup(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |