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

ファイルを表示 Open project: daszat/zetbox Class Usage Examples

Private Properties

Property Type Description
EnsureNewCommand void
EnsureOpenCommand void
EnsureOrderByExpression void
ExportPage int
GetPagedQuery ZbTask
OnExportPageError void
OnExportPageError void
OnExportPageResultFactory Action>
OnExportPageResultFactory Action>
OnLocalModelCreated void
OnObjectCreated void
UpdateCommands void
_filterList_PropertyChanged void
_filterList_UserFilterAdded void
_selectedItems_CollectionChanged void

Public Methods

Method Description
AddFilter ( IFilterModel mdl ) : void
CanExportXML ( ) : bool
CanMerge ( ) : bool
CanMergeReason ( ) : string
CanNextPage ( ) : bool
CanPrevPage ( ) : bool
Default ( ) : void
Delete ( ) : void
DoDragDrop ( ) : object
Export ( ) : void
ExportXML ( ) : void
Merge ( ) : void
New ( ) : void
NextPage ( ) : void
OnDrop ( object data ) : bool
Open ( ) : void
PrevPage ( ) : void
Print ( ) : void
RemoveFilter ( IFilterModel mdl ) : void
ResetDisplayedColumns ( ) : void
ResetSort ( bool refresh = true ) : void
SelectColumns ( ) : void
SetInitialSort ( string orderByExpression ) : void
SetInitialSort ( string orderByExpression, System direction ) : void
Sort ( string orderByExpression, System direction ) : void

Protected Methods

Method Description
CreateCommands ( ) : ObservableCollection

Private Methods

Method Description
EnsureNewCommand ( ) : void
EnsureOpenCommand ( ) : void
EnsureOrderByExpression ( ) : void
ExportPage ( StreamWriter sw, List cols, IEnumerable instances ) : int
GetPagedQuery ( int page, int pageSize, IQueryable unpagedQuery ) : ZbTask
OnExportPageError ( Exception ex ) : void
OnExportPageError ( IDisposable d, Exception ex ) : void
OnExportPageResultFactory ( List objects, int page, int pageSize, IQueryable unpagedQuery, string fileName ) : Action>
OnExportPageResultFactory ( StreamWriter sw, List cols, int page, int pageSize, IQueryable unpagedQuery, string tmpFile ) : Action>
OnLocalModelCreated ( DataObjectViewModel vm ) : void
OnObjectCreated ( IDataObject obj ) : void
UpdateCommands ( ) : void
_filterList_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
_filterList_UserFilterAdded ( object sender, UserFilterAddedEventArgs e ) : void
_selectedItems_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Method Details

AddFilter() public method

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

CanExportXML() public method

public CanExportXML ( ) : bool
return bool

CanMerge() public method

public CanMerge ( ) : bool
return bool

CanMergeReason() public method

public CanMergeReason ( ) : string
return string

CanNextPage() public method

public CanNextPage ( ) : bool
return bool

CanPrevPage() public method

public CanPrevPage ( ) : bool
return bool

CreateCommands() protected method

protected CreateCommands ( ) : ObservableCollection
return ObservableCollection

Default() public method

public Default ( ) : void
return void

Delete() public method

public Delete ( ) : void
return void

DoDragDrop() public method

public DoDragDrop ( ) : object
return object

Export() public method

public Export ( ) : void
return void

ExportXML() public method

public ExportXML ( ) : void
return void

Merge() public method

public Merge ( ) : void
return void

New() public method

public New ( ) : void
return void

NextPage() public method

public NextPage ( ) : void
return void

OnDrop() public method

public OnDrop ( object data ) : bool
data object
return bool

Open() public method

public Open ( ) : void
return void

PrevPage() public method

public PrevPage ( ) : void
return void

Print() public method

public Print ( ) : void
return void

RemoveFilter() public method

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

ResetDisplayedColumns() public method

public ResetDisplayedColumns ( ) : void
return void

ResetSort() public method

public ResetSort ( bool refresh = true ) : void
refresh bool
return void

SelectColumns() public method

public SelectColumns ( ) : void
return void

SetInitialSort() public method

public SetInitialSort ( string orderByExpression ) : void
orderByExpression string
return void

SetInitialSort() public method

public SetInitialSort ( string orderByExpression, System direction ) : void
orderByExpression string
direction System
return void

Sort() public method

public Sort ( string orderByExpression, System direction ) : void
orderByExpression string
direction System
return void