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

Afficher le fichier Open project: dotnet/docfx Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CanProcessorIncremental ( IDocumentProcessor processor ) : bool
processor IDocumentProcessor
Résultat bool

Create() public static méthode

public static Create ( DocumentBuildParameters parameters, BuildInfo cb, BuildInfo lb, string intermediateFolder ) : IncrementalBuildContext
parameters DocumentBuildParameters
cb BuildInfo
lb BuildInfo
intermediateFolder string
Résultat IncrementalBuildContext

CreateProcessorInfo() public méthode

public CreateProcessorInfo ( IDocumentProcessor processor ) : ProcessorInfo
processor IDocumentProcessor
Résultat ProcessorInfo

ExpandDependency() public méthode

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

GetCurrentIntermediateModelManifest() public méthode

public GetCurrentIntermediateModelManifest ( HostService hostService ) : ModelManifest
hostService HostService
Résultat ModelManifest

GetLastIntermediateModelManifest() public méthode

public GetLastIntermediateModelManifest ( HostService hostService ) : ModelManifest
hostService HostService
Résultat ModelManifest

GetModelLoadInfo() public méthode

public GetModelLoadInfo ( HostService hostService ) : BuildPhase?>.IReadOnlyDictionary
hostService HostService
Résultat BuildPhase?>.IReadOnlyDictionary

LoadChanges() public méthode

public LoadChanges ( ) : void
Résultat void

ReportModelLoadInfo() public méthode

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
Résultat void

ReportModelLoadInfo() public méthode

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
Résultat void

UpdateBuildVersionInfoPerDependencyGraph() public méthode

public UpdateBuildVersionInfoPerDependencyGraph ( ) : void
Résultat void