C# Class NuGet.Services.Metadata.Catalog.Persistence.FileStorage

Inheritance: Storage
ファイルを表示 Open project: NuGet/NuGet.Services.Metadata Class Usage Examples

Public Methods

Method Description
Exists ( string fileName ) : bool
FileStorage ( Uri baseAddress, string path ) : System
FileStorage ( string baseAddress, string path ) : System
List ( CancellationToken cancellationToken ) : Task>

Protected Methods

Method Description
OnDelete ( Uri resourceUri, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
OnLoad ( Uri resourceUri, CancellationToken cancellationToken ) : Task
OnSave ( Uri resourceUri, NuGet.Services.Metadata.Catalog.Persistence.StorageContent content, CancellationToken cancellationToken ) : System.Threading.Tasks.Task

Method Details

Exists() public method

public Exists ( string fileName ) : bool
fileName string
return bool

FileStorage() public method

public FileStorage ( Uri baseAddress, string path ) : System
baseAddress System.Uri
path string
return System

FileStorage() public method

public FileStorage ( string baseAddress, string path ) : System
baseAddress string
path string
return System

List() public method

public List ( CancellationToken cancellationToken ) : Task>
cancellationToken CancellationToken
return Task>

OnDelete() protected method

protected OnDelete ( Uri resourceUri, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
resourceUri System.Uri
cancellationToken CancellationToken
return System.Threading.Tasks.Task

OnLoad() protected method

protected OnLoad ( Uri resourceUri, CancellationToken cancellationToken ) : Task
resourceUri System.Uri
cancellationToken CancellationToken
return Task

OnSave() protected method

protected OnSave ( Uri resourceUri, NuGet.Services.Metadata.Catalog.Persistence.StorageContent content, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
resourceUri System.Uri
content NuGet.Services.Metadata.Catalog.Persistence.StorageContent
cancellationToken CancellationToken
return System.Threading.Tasks.Task