IAspireStore Methods
InterfaceMethods1 member
Represents a store for managing files in the Aspire hosting environment that can be reused across runs.
GetFileNameWithContent(string, Stream)Section titled GetFileNameWithContent(string, Stream)abstractstring Gets a deterministic file path that is a copy of the content from the provided stream. The resulting file name will depend on the content of the stream.
public interface IAspireStore{ public abstract string GetFileNameWithContent( string filenameTemplate, Stream contentStream) { // ... }}Parameters
filenameTemplatestringA file name to base the result on.contentStreamStreamA stream containing the content.Returns
stringA deterministic file path with the same content as the provided stream.