C# Class Microsoft.DocAsCode.Build.Engine.XRefMapDownloader

ファイルを表示 Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
DownloadAsync ( Uri uri ) : Task

Download xref map file from uri (async).

UpdateHref ( XRefMap map, Uri uri ) : void
XRefMapDownloader ( string baseFolder = null, int maxParallelism = 0x10 ) : System

Protected Methods

Method Description
DownloadBySchemeAsync ( Uri uri ) : Task Support scheme: http, https, ftp, file, embedded.
DownloadFromLocal ( Uri uri ) : IXRefContainer
DownloadFromWebAsync ( Uri uri ) : Task

Private Methods

Method Description
DownloadFromAssembly ( Uri uri ) : XRefMap
ReadLocalFile ( string filePath ) : IXRefContainer

Method Details

DownloadAsync() public method

Download xref map file from uri (async).
public DownloadAsync ( Uri uri ) : Task
uri System.Uri The uri of xref map file.
return Task

DownloadBySchemeAsync() protected method

Support scheme: http, https, ftp, file, embedded.
protected DownloadBySchemeAsync ( Uri uri ) : Task
uri System.Uri
return Task

DownloadFromLocal() protected static method

protected static DownloadFromLocal ( Uri uri ) : IXRefContainer
uri System.Uri
return IXRefContainer

DownloadFromWebAsync() protected static method

protected static DownloadFromWebAsync ( Uri uri ) : Task
uri System.Uri
return Task

UpdateHref() public static method

public static UpdateHref ( XRefMap map, Uri uri ) : void
map XRefMap
uri System.Uri
return void

XRefMapDownloader() public method

public XRefMapDownloader ( string baseFolder = null, int maxParallelism = 0x10 ) : System
baseFolder string
maxParallelism int
return System