C# Class Microsoft.DocAsCode.Build.Engine.Incrementals.IncrementalBuildContext

Mostra file Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
CanProcessorIncremental ( IDocumentProcessor processor ) : bool
Create ( DocumentBuildParameters parameters, BuildInfo cb, BuildInfo lb, string intermediateFolder ) : IncrementalBuildContext
CreateProcessorInfo ( IDocumentProcessor processor ) : ProcessorInfo
ExpandDependency ( Microsoft.DocAsCode.Build.Engine.Incrementals.DependencyGraph dependencyGraph, bool>.Func isValid ) : List
GetCurrentIntermediateModelManifest ( HostService hostService ) : ModelManifest
GetLastIntermediateModelManifest ( HostService hostService ) : ModelManifest
GetModelLoadInfo ( HostService hostService ) : BuildPhase?>.IReadOnlyDictionary
LoadChanges ( ) : void
ReportModelLoadInfo ( HostService hostService, IEnumerable files, BuildPhase phase ) : void

report model load info

ReportModelLoadInfo ( HostService hostService, string file, BuildPhase phase ) : void

report model load info

UpdateBuildVersionInfoPerDependencyGraph ( ) : void

Private Methods

Method Description
CanBuildInfoIncremental ( BuildInfo cb, BuildInfo lb ) : bool
ComputeConfigHash ( DocumentBuildParameters parameter ) : string
ComputeFileAttributes ( DocumentBuildParameters parameters, Microsoft.DocAsCode.Build.Engine.Incrementals.DependencyGraph dg ) : FileAttributeItem>.Dictionary
GetCanVersionIncremental ( ) : bool
IncrementalBuildContext ( string baseDir, string lastBaseDir, System.DateTime lastBuildStartTime, bool canBuildInfoIncremental, DocumentBuildParameters parameters, Microsoft.DocAsCode.Build.Engine.Incrementals.BuildVersionInfo cbv, Microsoft.DocAsCode.Build.Engine.Incrementals.BuildVersionInfo lbv ) : System

Method Details

CanProcessorIncremental() public method

public CanProcessorIncremental ( IDocumentProcessor processor ) : bool
processor IDocumentProcessor
return bool

Create() public static method

public static Create ( DocumentBuildParameters parameters, BuildInfo cb, BuildInfo lb, string intermediateFolder ) : IncrementalBuildContext
parameters DocumentBuildParameters
cb BuildInfo
lb BuildInfo
intermediateFolder string
return IncrementalBuildContext

CreateProcessorInfo() public method

public CreateProcessorInfo ( IDocumentProcessor processor ) : ProcessorInfo
processor IDocumentProcessor
return ProcessorInfo

ExpandDependency() public method

public ExpandDependency ( Microsoft.DocAsCode.Build.Engine.Incrementals.DependencyGraph dependencyGraph, bool>.Func isValid ) : List
dependencyGraph Microsoft.DocAsCode.Build.Engine.Incrementals.DependencyGraph
isValid bool>.Func
return List

GetCurrentIntermediateModelManifest() public method

public GetCurrentIntermediateModelManifest ( HostService hostService ) : ModelManifest
hostService HostService
return ModelManifest

GetLastIntermediateModelManifest() public method

public GetLastIntermediateModelManifest ( HostService hostService ) : ModelManifest
hostService HostService
return ModelManifest

GetModelLoadInfo() public method

public GetModelLoadInfo ( HostService hostService ) : BuildPhase?>.IReadOnlyDictionary
hostService HostService
return BuildPhase?>.IReadOnlyDictionary

LoadChanges() public method

public LoadChanges ( ) : void
return void

ReportModelLoadInfo() public method

report model load info
public ReportModelLoadInfo ( HostService hostService, IEnumerable files, BuildPhase phase ) : void
hostService HostService host service
files IEnumerable models' LocalPathFromRoot
phase BuildPhase the buildphase that the model was loaded at
return void

ReportModelLoadInfo() public method

report model load info
public ReportModelLoadInfo ( HostService hostService, string file, BuildPhase phase ) : void
hostService HostService host service
file string the model's LocalPathFromRoot
phase BuildPhase the buildphase that the model was loaded at
return void

UpdateBuildVersionInfoPerDependencyGraph() public method

public UpdateBuildVersionInfoPerDependencyGraph ( ) : void
return void