C# 클래스 InfoPathScraper.Reporting.Report

파일 보기 프로젝트 열기: OfficeDev/PnP-Transformation

Private Properties

프로퍼티 타입 설명
ProcessNext System.Threading.Tasks.Task
PurgeDoneTasks void
TaskBody void

공개 메소드들

메소드 설명
AddPath ( string path ) : void

Assumes all AddPath are called before Run(). This is enforced by CommandLineProcessor. If we ever get on a UI where additional files can be added after Run() is called, there will need to be a mechanism to ensure that we don't add after Run() has completed and not run any extra paths.

Report ( ) : System
Run ( ) : void

Simplified version of Run that doesn't do anything concurrent

보호된 메소드들

메소드 설명
OutputTemplate ( Model template ) : string

A string representation of the report for a single template. Deriving classes will collate template.Features in a way that makes sense for the type of report

비공개 메소드들

메소드 설명
ProcessNext ( string path ) : System.Threading.Tasks.Task

Create a Task to load and run based on the path

PurgeDoneTasks ( ) : void

We need to remove all completed Tasks, otherwise they'll clog up our queue

TaskBody ( string path ) : void

Create a Task to load and run based on the path

메소드 상세

AddPath() 공개 메소드

Assumes all AddPath are called before Run(). This is enforced by CommandLineProcessor. If we ever get on a UI where additional files can be added after Run() is called, there will need to be a mechanism to ensure that we don't add after Run() has completed and not run any extra paths.
public AddPath ( string path ) : void
path string
리턴 void

OutputTemplate() 보호된 추상적인 메소드

A string representation of the report for a single template. Deriving classes will collate template.Features in a way that makes sense for the type of report
protected abstract OutputTemplate ( Model template ) : string
template Model
리턴 string

Report() 공개 메소드

public Report ( ) : System
리턴 System

Run() 공개 메소드

Simplified version of Run that doesn't do anything concurrent
public Run ( ) : void
리턴 void