C# 클래스 Smrf.NodeXL.GraphMLFileProcessor.GraphMLFileProcessor

Asynchronously processes GraphML files.
Processing continues in an endless loop. It completes only when you cancel it or an exception is thrown.

Call ProcessGraphMLFilesAsync to process GraphML files. Call CancelAsync to stop the processing. Handle the and events to monitor the processing and cancellation.

상속: Object
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

공개 메소드들

메소드 설명
CancelAsync ( ) : void
GraphMLFileProcessor ( ) : System

Initializes a new instance of the GraphMLFileProcessor class.

ProcessGraphMLFilesAsync ( String graphMLFolderPath ) : void

비공개 메소드들

메소드 설명
AssertValid ( ) : void
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
BackgroundWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
BackgroundWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
CreateBackgroundWorker ( ) : BackgroundWorker
GetCorrespondingWorkbookFilePath ( String graphMLFilePath ) : String
GraphMLFileIsNew ( String graphMLFilePath, HashSet workbookFilePaths ) : System.Boolean
ProcessGraphMLFile ( String graphMLFilePath, BackgroundWorker backgroundWorker ) : void
ProcessGraphMLFilesInternal ( ProcessGraphMLFilesAsyncArgs processGraphMLFilesAsyncArgs, BackgroundWorker backgroundWorker, DoWorkEventArgs doWorkEventArgs ) : void
ProcessGraphMLFilesRecursive ( String graphMLFolderPath, BackgroundWorker backgroundWorker ) : void
ReportException ( BackgroundWorker backgroundWorker, String description, Exception exception ) : void
ReportProgress ( BackgroundWorker backgroundWorker, String message ) : void
TryAutomateNodeXLWorkbook ( String graphMLFilePath, BackgroundWorker backgroundWorker ) : System.Boolean
TryGetFilePaths ( String graphMLFolderPath, BackgroundWorker backgroundWorker, String &graphMLFilePaths, HashSet &workbookFilePaths ) : System.Boolean
TryGetGraphMLDocument ( String graphMLFilePath, BackgroundWorker backgroundWorker, XmlDocument &graphMLDocument ) : System.Boolean
TryGetNodeXLWorkbookSettingsFilePath ( String graphMLFilePath, BackgroundWorker backgroundWorker, String &nodeXLWorkbookSettingsFilePath ) : System.Boolean
TrySaveGraphMLToNodeXLWorkbook ( String graphMLFilePath, BackgroundWorker backgroundWorker, XmlDocument graphMLDocument, String nodeXLWorkbookSettingsFilePath ) : System.Boolean

메소드 상세

CancelAsync() 공개 메소드

public CancelAsync ( ) : void
리턴 void

GraphMLFileProcessor() 공개 메소드

Initializes a new instance of the GraphMLFileProcessor class.
public GraphMLFileProcessor ( ) : System
리턴 System

ProcessGraphMLFilesAsync() 공개 메소드

public ProcessGraphMLFilesAsync ( String graphMLFolderPath ) : void
graphMLFolderPath String
리턴 void