Interface ISupportIncrementalDocumentProcessor
Declare a document processor can support incremental build.
Inherited Members
Namespace: Microsoft.DocAsCode.Plugins
Assembly: Microsoft.DocAsCode.Plugins.dll
Syntax
public interface ISupportIncrementalDocumentProcessor : IDocumentProcessor
Methods
| Improve this Doc View SourceGetIncrementalContextHash()
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. |
LoadIntermediateModel(Stream)
Load intermediate model from stream.
Declaration
FileModel LoadIntermediateModel(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream containing saved model. |
Returns
Type | Description |
---|---|
FileModel | The file model. |
SaveIntermediateModel(FileModel, Stream)
Save intermediate model to stream.
Declaration
void SaveIntermediateModel(FileModel model, Stream stream)
Parameters
Type | Name | Description |
---|---|---|
FileModel | model | The model to save. |
Stream | stream | The stream for saving. |