IAsNewDocuments Interface

Summary

Implement this interface for any module you want to support the AsNewDocuments() extension method, which overrides document creation within the module to always produce new documents instead of cloning existing ones.
graph BT Type["IAsNewDocuments"] class Type type-node Implementing0["CopyFiles"]-.->Type click Implementing0 "/api/Wyam.Core.Modules.IO/CopyFiles" Implementing1["ReadProject"]-.->Type click Implementing1 "/api/Wyam.CodeAnalysis/ReadProject" Implementing2["GitHub"]-.->Type click Implementing2 "/api/Wyam.GitHub/GitHub" Implementing3["ReadSolution"]-.->Type click Implementing3 "/api/Wyam.CodeAnalysis/ReadSolution" Implementing4["ReadWorkspace"]-.->Type click Implementing4 "/api/Wyam.CodeAnalysis/ReadWorkspace" Implementing5["ReadFiles"]-.->Type click Implementing5 "/api/Wyam.Core.Modules.IO/ReadFiles" Implementing6["YouTube"]-.->Type click Implementing6 "/api/Wyam.YouTube/YouTube"

Syntax

public interface IAsNewDocuments
GitHub