C# Class Zetbox.Client.Presentables.ZetboxBase.FilterListViewModel

Inheritance: Zetbox.Client.Presentables.ViewModel
ファイルを表示 Open project: daszat/zetbox Class Usage Examples

Public Methods

Method Description
AddFilter ( ) : void
AddFilter ( IFilterModel mdl ) : void
AddFilter ( IFilterModel mdl, bool allowRemove ) : void
AddFilter ( IFilterModel mdl, bool allowRemove, IEnumerable sourceProperties ) : void
AppendFilter ( IQueryable qry ) : IQueryable
AppendPostFilter ( List result ) : List
FilterListViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, ObjectClass type, IFulltextSupport fulltextSupport = null ) : System
RemoveFilter ( IFilterModel mdl ) : bool
ResetUserFilter ( ) : void

Protected Methods

Method Description
OnUserFilterAdded ( IEnumerable props ) : void

Private Methods

Method Description
InitializeFilter ( ) : void
OnExecuteFilter ( ) : void
OnExecutePostFilter ( ) : void
OnUIFilterChanged ( object sender, EventArgs e ) : void
UpdateExclusiveFilter ( ) : void
UpdateRespectRequieredFilter ( ) : void

Method Details

AddFilter() public method

public AddFilter ( ) : void
return void

AddFilter() public method

public AddFilter ( IFilterModel mdl ) : void
mdl IFilterModel
return void

AddFilter() public method

public AddFilter ( IFilterModel mdl, bool allowRemove ) : void
mdl IFilterModel
allowRemove bool
return void

AddFilter() public method

public AddFilter ( IFilterModel mdl, bool allowRemove, IEnumerable sourceProperties ) : void
mdl IFilterModel
allowRemove bool
sourceProperties IEnumerable
return void

AppendFilter() public method

public AppendFilter ( IQueryable qry ) : IQueryable
qry IQueryable
return IQueryable

AppendPostFilter() public method

public AppendPostFilter ( List result ) : List
result List
return List

FilterListViewModel() public method

public FilterListViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, ObjectClass type, IFulltextSupport fulltextSupport = null ) : System
appCtx IViewModelDependencies
dataCtx IZetboxContext
parent Zetbox.Client.Presentables.ViewModel
type ObjectClass
fulltextSupport IFulltextSupport
return System

OnUserFilterAdded() protected method

protected OnUserFilterAdded ( IEnumerable props ) : void
props IEnumerable
return void

RemoveFilter() public method

public RemoveFilter ( IFilterModel mdl ) : bool
mdl IFilterModel
return bool

ResetUserFilter() public method

public ResetUserFilter ( ) : void
return void