DocFxMergeSettings Class

Summary

Contains settings used by Cake.DocFx.Merge.DocFxMergeRunner.
Assembly
Cake.DocFx.dll
Namespace
Cake.DocFx.Merge
Base Types
graph BT Type-->Base0["BaseDocFxLogSettings"] click Base0 "/api/Cake.DocFx/BaseDocFxLogSettings" Base0-->Base1["ToolSettings"] Type["DocFxMergeSettings"] class Type type-node

Syntax

public class DocFxMergeSettings : BaseDocFxLogSettings

Constructors

Name Summary
DocFxMergeSettings()

Properties

Name Value Summary
CorrelationId string
Gets or sets the correlation id used for logging.
Inherited from BaseDocFxLogSettings
GlobalMetadata IDictionary<string, string>
Gets global metadata. It overrides the globalMetadata settings from the config file. See DocFxGlobalMetadata for constants for metadata keys.
LogLevel DocFxLogLevel
Gets or sets to which log level will be logged.
Inherited from BaseDocFxLogSettings
LogPath FilePath
Gets or sets the path and file name where the log file generated by DocFx will be saved.
Inherited from BaseDocFxLogSettings
RepositoryRoot DirectoryPath
Gets or sets the Git repository root folder.
Inherited from BaseDocFxLogSettings
TocMetadata IList<string>
Gets the TOC metadata names that need to be merged into the file.
WarningsAsErrors bool
Gets or sets a value indicating if warnings should be treated as errors.
Inherited from BaseDocFxLogSettings

Extension Methods

Name Value Summary
Dump<DocFxMergeSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DocFxMergeSettings>(DocFxMergeSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DocFxMergeSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DocFxMergeSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<DocFxMergeSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<DocFxMergeSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin