共用方式為


IContentProvider Interface

Definition

Provides an abstraction for getting content from storage. This is used by the ContentController and HelpController to serve content.

public interface IContentProvider
type IContentProvider = interface
Public Interface IContentProvider
Derived

Methods

GetContentStreamAsync(String)

Get a stream to the content for the given path. If the path is invalid or nothing is found then throw an ArgumentException exception.

Applies to