Interface ISupportIncrementalBuildStep
Declare a build step can support incremental build.
Inherited Members
Namespace: Microsoft.DocAsCode.Plugins
Assembly: Microsoft.DocAsCode.Plugins.dll
Syntax
public interface ISupportIncrementalBuildStep : IDocumentBuildStep
Methods
| Improve this Doc View SourceCanIncrementalBuild(FileAndType)
Check each file, when incremental context hash is same.
Declaration
bool CanIncrementalBuild(FileAndType fileAndType)
Parameters
Type | Name | Description |
---|---|---|
FileAndType | fileAndType | the file and type information |
Returns
Type | Description |
---|---|
Boolean | Can use incremental build for this file. |
GetDependencyTypesToRegister()
Get dependency types to register
Declaration
IEnumerable<DependencyType> GetDependencyTypesToRegister()
Returns
Type | Description |
---|---|
IEnumerable<DependencyType> | dependency types to register |
GetIncrementalContextHash()
Get the hash of incremental context, if it is different from latest one then full build.
Declaration
string GetIncrementalContextHash()
Returns
Type | Description |
---|---|
String | the hash. |