C# 클래스 CmisSync.CmisTree.AsyncNodeLoader

Loads child nodes of the given root node
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
AsyncNodeLoader ( RootFolder root, CmisRepoCredentials credentials, LoadChildrenDelegate method, CheckChildrenDelegate check ) : CmisSync.Lib.Cmis

This class can be used to load children nodes asynchronous in another thread

Cancel ( ) : void

Cancels the async loading procedure

Load ( Node node ) : void

Enqueues the given node to be loaded asynchronously

MergeFolderTrees ( Node node, List children ) : void

Merges the given new child list into the existing childs of the given node

MergeNewNodeIntoOldNode ( Node oldNode, Node newNode ) : void

Merges the state of the new node into the old node, excerpt the children

비공개 메소드들

메소드 설명
DoWork ( object sender, DoWorkEventArgs e ) : void
Finished ( object sender, RunWorkerCompletedEventArgs e ) : void
Load ( ) : void
SetNodeTreeStatus ( Node node, LoadingStatus status ) : void

메소드 상세

AsyncNodeLoader() 공개 메소드

This class can be used to load children nodes asynchronous in another thread
public AsyncNodeLoader ( RootFolder root, CmisRepoCredentials credentials, LoadChildrenDelegate method, CheckChildrenDelegate check ) : CmisSync.Lib.Cmis
root RootFolder The repository Node
credentials CmisSync.Lib.Config.CmisRepoCredentials The server crendentials to load children for the given Cmis Repo
method LoadChildrenDelegate Function for loading nodes
check CheckChildrenDelegate
리턴 CmisSync.Lib.Cmis

Cancel() 공개 메소드

Cancels the async loading procedure
public Cancel ( ) : void
리턴 void

Load() 공개 메소드

Enqueues the given node to be loaded asynchronously
public Load ( Node node ) : void
node Node to be loaded next
리턴 void

MergeFolderTrees() 공개 정적인 메소드

Merges the given new child list into the existing childs of the given node
public static MergeFolderTrees ( Node node, List children ) : void
node Node
children List
리턴 void

MergeNewNodeIntoOldNode() 공개 정적인 메소드

Merges the state of the new node into the old node, excerpt the children
public static MergeNewNodeIntoOldNode ( Node oldNode, Node newNode ) : void
oldNode Node
newNode Node
리턴 void