C# Class Microsoft.DocAsCode.SubCommands.MergeCommand

Inheritance: ISubCommand
显示文件 Open project: dotnet/docfx

Public Methods

Method Description
Exec ( SubCommandRunningContext context ) : void
MergeCommand ( MergeCommandOptions options ) : System

Private Methods

Method Description
ConfigToParameter ( Microsoft.DocAsCode.MergeJsonConfig config, string baseDirectory, string outputDirectory ) : MetadataMergeParameters
ConvertToFileMetadataItem ( string baseDirectory, FileMetadataPairs>.Dictionary fileMetadata ) : FileMetadata
GetFileCollectionFromFileMapping ( string baseDirectory, DocumentType type, FileMapping files ) : FileCollection
GetFilesFromFileMapping ( FileMapping mapping ) : IEnumerable
GetSerializer ( ) : JsonSerializer
MergeDocument ( string baseDirectory, string outputDirectory ) : void
MergeOptionsToConfig ( MergeCommandOptions options, Microsoft.DocAsCode.MergeJsonConfig &config ) : void
ParseOptions ( MergeCommandOptions options ) : Microsoft.DocAsCode.MergeJsonConfig

Method Details

Exec() public method

public Exec ( SubCommandRunningContext context ) : void
context SubCommandRunningContext
return void

MergeCommand() public method

public MergeCommand ( MergeCommandOptions options ) : System
options Microsoft.DocAsCode.MergeCommandOptions
return System