C# Класс Dev2.Models.ExplorerItemModel

Наследование: ObservableObject, IExplorerItemModel
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
OnCheckedStateChangedAction Action
OnRenameChangedAction Action

Открытые методы

Метод Описание
AddNewFolder ( ) : void
CancelRename ( ) : void
Clone ( ) : ExplorerItemModel
Clone ( IConnectControlSingleton connectControlSingleton, IStudioResourceRepository studioResourceRepository ) : ExplorerItemModel
ExplorerItemModel ( ) : System
ExplorerItemModel ( IConnectControlSingleton connectControlSingleton, IStudioResourceRepository studioResourceRepository ) : System
ExplorerItemModel ( IStudioResourceRepository studioResourceRepository, IAsyncWorker asyncWorker, IConnectControlSingleton connectControlSingleton ) : System
OnChildrenChanged ( ) : void
RefreshName ( string newName ) : void
RemoveChild ( IExplorerItemModel child ) : void
SetDisplay ( string display ) : void
SetIsChecked ( bool value, bool updateChildren, bool updateParent, bool calcStats = true ) : void

Sets the IsChecked Property and updates children and parent

UpdateCategoryIfOpened ( string category ) : void
VerifyCheckState ( ) : void

Verifies the state of the IsChecked property by taking the childrens IsChecked State into account

Приватные методы

Метод Описание
CancelRename ( System.Windows.Input.KeyEventArgs eventArgs ) : void
ChildrenCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
Connect ( ) : void

Connects this instance.

ConnectedStatusChanged ( object sender, ConnectionStatusChangedEventArg e ) : void
Debug ( ) : void

Executes the edit command and send a message to debug

Delete ( ) : void

Sends a message to delete this specific instance

DeleteVersion ( ) : void
Deploy ( ) : void

Deploys this instance.

Disconnect ( ) : void

Connects this instance.

Edit ( ) : void

Edits this instance.

GetChildrenCount ( ) : int
GetRenamePath ( string existingPath, string newName ) : string
GetUniqueName ( ) : string
Refresh ( ) : void
Remove ( ) : void

Removes the specified child from the children.

Rename ( string newName ) : bool
Rollback ( ) : void
ShowDependencies ( ) : void

Sends a message to show the dependencies.

ShowNewResourceWizard ( object obj ) : void
ShowServerVersionAbout ( ) : void
ToggleVersionHistory ( ) : void
UpdateChildren ( bool updateChildren ) : void
UpdateParent ( bool updateParent ) : void

Описание методов

AddNewFolder() публичный Метод

public AddNewFolder ( ) : void
Результат void

CancelRename() публичный Метод

public CancelRename ( ) : void
Результат void

Clone() публичный Метод

public Clone ( ) : ExplorerItemModel
Результат ExplorerItemModel

Clone() публичный Метод

public Clone ( IConnectControlSingleton connectControlSingleton, IStudioResourceRepository studioResourceRepository ) : ExplorerItemModel
connectControlSingleton IConnectControlSingleton
studioResourceRepository IStudioResourceRepository
Результат ExplorerItemModel

ExplorerItemModel() публичный Метод

public ExplorerItemModel ( ) : System
Результат System

ExplorerItemModel() публичный Метод

public ExplorerItemModel ( IConnectControlSingleton connectControlSingleton, IStudioResourceRepository studioResourceRepository ) : System
connectControlSingleton IConnectControlSingleton
studioResourceRepository IStudioResourceRepository
Результат System

ExplorerItemModel() публичный Метод

public ExplorerItemModel ( IStudioResourceRepository studioResourceRepository, IAsyncWorker asyncWorker, IConnectControlSingleton connectControlSingleton ) : System
studioResourceRepository IStudioResourceRepository
asyncWorker IAsyncWorker
connectControlSingleton IConnectControlSingleton
Результат System

OnChildrenChanged() публичный Метод

public OnChildrenChanged ( ) : void
Результат void

RefreshName() публичный Метод

public RefreshName ( string newName ) : void
newName string
Результат void

RemoveChild() публичный Метод

public RemoveChild ( IExplorerItemModel child ) : void
child IExplorerItemModel
Результат void

SetDisplay() публичный Метод

public SetDisplay ( string display ) : void
display string
Результат void

SetIsChecked() публичный Метод

Sets the IsChecked Property and updates children and parent
public SetIsChecked ( bool value, bool updateChildren, bool updateParent, bool calcStats = true ) : void
value bool The value.
updateChildren bool /// if set to true [update children]. ///
updateParent bool /// if set to true [update parent]. ///
calcStats bool
Результат void

UpdateCategoryIfOpened() публичный Метод

public UpdateCategoryIfOpened ( string category ) : void
category string
Результат void

VerifyCheckState() публичный Метод

Verifies the state of the IsChecked property by taking the childrens IsChecked State into account
public VerifyCheckState ( ) : void
Результат void

Описание свойств

OnCheckedStateChangedAction публичное статическое свойство

public static Action OnCheckedStateChangedAction
Результат Action

OnRenameChangedAction публичное статическое свойство

public static Action OnRenameChangedAction
Результат Action