C# Class Microsoft.DocAsCode.DataContracts.Common.ExternalReferencePackageReader

Inheritance: IDisposable
Mostra file Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
CreateNoThrow ( string packageFile ) : ExternalReferencePackageReader
Dispose ( ) : void
ExternalReferencePackageReader ( string packageFile ) : System
TryGetReference ( string uid, ReferenceViewModel &vm ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void
SeekUidIndex ( string uid ) : int

Private Methods

Method Description
GetInternal ( string uid ) : IEnumerable
GetReferenceViewModels ( int index ) : IEnumerable
GetUidEntryMap ( ZipArchive zip ) : List>.Dictionary

Method Details

CreateNoThrow() public static method

public static CreateNoThrow ( string packageFile ) : ExternalReferencePackageReader
packageFile string
return ExternalReferencePackageReader

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

ExternalReferencePackageReader() public method

public ExternalReferencePackageReader ( string packageFile ) : System
packageFile string
return System

SeekUidIndex() protected method

protected SeekUidIndex ( string uid ) : int
uid string
return int

TryGetReference() public method

public TryGetReference ( string uid, ReferenceViewModel &vm ) : bool
uid string
vm ReferenceViewModel
return bool