Class TreeRepositoryViewModel<TEntity>
- Namespace
- HeBianGu.General.WpfControlLib
- Assembly
- HeBianGu.General.WpfControlLib.dll
直接对接模型的仓储基类
public class TreeRepositoryViewModel<TEntity> : RepositoryViewModelBase<TreeNodeBase<TEntity>, TEntity>, INotifyPropertyChanged, ITreeRepositoryViewModel<TEntity>, IRepositoryViewModelBase<TEntity>, IRepositoryViewModel where TEntity : StringEntityBase, ITreePath, new()
Type Parameters
TEntity
- Inheritance
-
RepositoryViewModelBase<TreeNodeBase<TEntity>, TEntity>TreeRepositoryViewModel<TEntity>
- Implements
-
ITreeRepositoryViewModel<TEntity>IRepositoryViewModelBase<TEntity>
- Inherited Members
- Extension Methods
Properties
SelectedTreeItem
说明
public TreeNodeBase<TEntity> SelectedTreeItem { get; set; }
Property Value
- TreeNodeBase<TEntity>
Methods
Add(object)
public override Task Add(object obj)
Parameters
obj
object
Returns
Add(params TEntity[])
public override Task Add(params TEntity[] ms)
Parameters
ms
TEntity[]
Returns
Clear(object)
public override Task Clear(object obj)
Parameters
obj
object
Returns
Delete(object)
public override Task Delete(object obj)
Parameters
obj
object
Returns
RefreshData(params string[])
public override void RefreshData(params string[] includes)
Parameters
includes
string[]