C# 클래스 Microsoft.DocAsCode.Build.Engine.HostService

상속: IHostService, IDisposable
파일 보기 프로젝트 열기: dotnet/docfx 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
GetAllUids ( ) : ImmutableHashSet
GetModels ( DocumentType type ) : ImmutableList
HostService ( string baseDir, IEnumerable models ) : System
LoadIntermediateModel ( IncrementalBuildContext incrementalContext, string fileName ) : FileModel
LogDiagnostic ( string message, string file, string line ) : void
LogError ( string message, string file, string line ) : void
LogInfo ( string message, string file, string line ) : void
LogVerbose ( string message, string file, string line ) : void
LogWarning ( string message, string file, string line ) : void
LookupByUid ( string uid ) : ImmutableList
Markup ( string markdown, FileAndType ft ) : MarkupResult
Markup ( string markdown, FileAndType ft, bool omitParse ) : MarkupResult
Parse ( MarkupResult markupResult, FileAndType ft ) : MarkupResult
Reload ( IEnumerable models ) : void
ReloadModelsPerIncrementalChanges ( IncrementalBuildContext incrementalContext, IEnumerable changes, BuildPhase loadedAt ) : void
ReloadUnloadedModels ( IncrementalBuildContext incrementalContext, BuildPhase loadedAt ) : void
ReportDependencyFrom ( FileModel currentFileModel, string from, string type ) : void
ReportDependencyTo ( FileModel currentFileModel, string to, string type ) : void
SaveIntermediateModel ( IncrementalBuildContext incrementalContext ) : void
ValidateInputMetadata ( string sourceFile, object>.ImmutableDictionary metadata ) : void

비공개 메소드들

메소드 설명
ContentAccessedHandler ( object sender, EventArgs e ) : void
GetFileLinkSource ( FileAndType ft, HtmlAgilityPack.HtmlDocument doc ) : ImmutableList>.ImmutableDictionary
GetUidLinkSources ( HtmlAgilityPack.HtmlDocument doc ) : ImmutableList>.ImmutableDictionary
HandleFileOrBaseDirChanged ( object sender, EventArgs e ) : void
HandleUidsChanged ( object sender, PropertyChangedEventArgs e ) : void
LoadCore ( IEnumerable models ) : void
MarkupCore ( string markdown, FileAndType ft, bool omitParse ) : MarkupResult
OnLruRemoving ( ModelWithCache m ) : void
ParseCore ( MarkupResult markupResult, FileAndType ft ) : MarkupResult
ReloadUnloadedModelsPerCondition ( IncrementalBuildContext incrementalContext, BuildPhase phase, bool>.Func condition ) : void
ReportDependencyCore ( string from, string to, string reportedBy, string type ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetAllUids() 공개 메소드

public GetAllUids ( ) : ImmutableHashSet
리턴 ImmutableHashSet

GetModels() 공개 메소드

public GetModels ( DocumentType type ) : ImmutableList
type DocumentType
리턴 ImmutableList

HostService() 공개 메소드

public HostService ( string baseDir, IEnumerable models ) : System
baseDir string
models IEnumerable
리턴 System

LoadIntermediateModel() 공개 메소드

public LoadIntermediateModel ( IncrementalBuildContext incrementalContext, string fileName ) : FileModel
incrementalContext Microsoft.DocAsCode.Build.Engine.Incrementals.IncrementalBuildContext
fileName string
리턴 Microsoft.DocAsCode.Plugins.FileModel

LogDiagnostic() 공개 메소드

public LogDiagnostic ( string message, string file, string line ) : void
message string
file string
line string
리턴 void

LogError() 공개 메소드

public LogError ( string message, string file, string line ) : void
message string
file string
line string
리턴 void

LogInfo() 공개 메소드

public LogInfo ( string message, string file, string line ) : void
message string
file string
line string
리턴 void

LogVerbose() 공개 메소드

public LogVerbose ( string message, string file, string line ) : void
message string
file string
line string
리턴 void

LogWarning() 공개 메소드

public LogWarning ( string message, string file, string line ) : void
message string
file string
line string
리턴 void

LookupByUid() 공개 메소드

public LookupByUid ( string uid ) : ImmutableList
uid string
리턴 ImmutableList

Markup() 공개 메소드

public Markup ( string markdown, FileAndType ft ) : MarkupResult
markdown string
ft FileAndType
리턴 Microsoft.DocAsCode.Plugins.MarkupResult

Markup() 공개 메소드

public Markup ( string markdown, FileAndType ft, bool omitParse ) : MarkupResult
markdown string
ft FileAndType
omitParse bool
리턴 Microsoft.DocAsCode.Plugins.MarkupResult

Parse() 공개 메소드

public Parse ( MarkupResult markupResult, FileAndType ft ) : MarkupResult
markupResult Microsoft.DocAsCode.Plugins.MarkupResult
ft FileAndType
리턴 Microsoft.DocAsCode.Plugins.MarkupResult

Reload() 공개 메소드

public Reload ( IEnumerable models ) : void
models IEnumerable
리턴 void

ReloadModelsPerIncrementalChanges() 공개 메소드

public ReloadModelsPerIncrementalChanges ( IncrementalBuildContext incrementalContext, IEnumerable changes, BuildPhase loadedAt ) : void
incrementalContext Microsoft.DocAsCode.Build.Engine.Incrementals.IncrementalBuildContext
changes IEnumerable
loadedAt BuildPhase
리턴 void

ReloadUnloadedModels() 공개 메소드

public ReloadUnloadedModels ( IncrementalBuildContext incrementalContext, BuildPhase loadedAt ) : void
incrementalContext Microsoft.DocAsCode.Build.Engine.Incrementals.IncrementalBuildContext
loadedAt BuildPhase
리턴 void

ReportDependencyFrom() 공개 메소드

public ReportDependencyFrom ( FileModel currentFileModel, string from, string type ) : void
currentFileModel Microsoft.DocAsCode.Plugins.FileModel
from string
type string
리턴 void

ReportDependencyTo() 공개 메소드

public ReportDependencyTo ( FileModel currentFileModel, string to, string type ) : void
currentFileModel Microsoft.DocAsCode.Plugins.FileModel
to string
type string
리턴 void

SaveIntermediateModel() 공개 메소드

public SaveIntermediateModel ( IncrementalBuildContext incrementalContext ) : void
incrementalContext Microsoft.DocAsCode.Build.Engine.Incrementals.IncrementalBuildContext
리턴 void

ValidateInputMetadata() 공개 메소드

public ValidateInputMetadata ( string sourceFile, object>.ImmutableDictionary metadata ) : void
sourceFile string
metadata object>.ImmutableDictionary
리턴 void