Interface ISupportIncrementalBuild
Declare a document processor or a step can support incremental build.
Namespace:Microsoft.DocAsCode.Plugins
Assembly:Microsoft.DocAsCode.Plugins.dll
Syntax
public interface ISupportIncrementalBuild
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. |
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. |