C# 클래스 Dev2.Models.ExplorerItemModel

상속: ObservableObject, IExplorerItemModel
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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