Table of Contents

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
TreeRepositoryViewModel<TEntity>
Implements
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

Task

Add(params TEntity[])

public override Task Add(params TEntity[] ms)

Parameters

ms TEntity[]

Returns

Task

Clear(object)

public override Task Clear(object obj)

Parameters

obj object

Returns

Task

Delete(object)

public override Task Delete(object obj)

Parameters

obj object

Returns

Task

RefreshData(params string[])

public override void RefreshData(params string[] includes)

Parameters

includes string[]