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

Inheritance: ResourceCollection
Mostra file Open project: dotnet/docfx

Public Methods

Method Description
ArchiveResourceCollection ( Stream stream, string name ) : System
GetResource ( string name ) : string
GetResourceStream ( string name ) : Stream

TODO: This is not thread safe, only expose GetResource in interface

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
GetResourceStreamCore ( string name ) : Stream

Method Details

ArchiveResourceCollection() public method

public ArchiveResourceCollection ( Stream stream, string name ) : System
stream Stream
name string
return System

Dispose() protected method

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

GetResource() public method

public GetResource ( string name ) : string
name string
return string

GetResourceStream() public method

TODO: This is not thread safe, only expose GetResource in interface
public GetResourceStream ( string name ) : Stream
name string
return Stream