C# Class OpenTween.Models.FilterTabModel

Inheritance: TabModel
Show file Open project: opentween/OpenTween Class Usage Examples

Public Methods

Method Description
AddFilter ( PostFilterRule filter ) : bool
AddFiltered ( PostClass post, bool immediately = false ) : MyCommon.HITRESULT
FilterTabModel ( string tabName ) : System
GetFilters ( ) : PostFilterRule[]
RefreshAsync ( Twitter tw, bool backward, bool startup, IProgress progress ) : System.Threading.Tasks.Task
RemoveFilter ( PostFilterRule filter ) : void

Private Methods

Method Description
OnFilterModified ( object sender, PropertyChangedEventArgs e ) : void

Method Details

AddFilter() public method

public AddFilter ( PostFilterRule filter ) : bool
filter PostFilterRule
return bool

AddFiltered() public method

public AddFiltered ( PostClass post, bool immediately = false ) : MyCommon.HITRESULT
post PostClass
immediately bool
return MyCommon.HITRESULT

FilterTabModel() public method

public FilterTabModel ( string tabName ) : System
tabName string
return System

GetFilters() public method

public GetFilters ( ) : PostFilterRule[]
return PostFilterRule[]

RefreshAsync() public method

public RefreshAsync ( Twitter tw, bool backward, bool startup, IProgress progress ) : System.Threading.Tasks.Task
tw Twitter
backward bool
startup bool
progress IProgress
return System.Threading.Tasks.Task

RemoveFilter() public method

public RemoveFilter ( PostFilterRule filter ) : void
filter PostFilterRule
return void