IPublicUrlProvider

Namespace: Proffer.Storage.FileSystem

Provides a way to serve files from an HTTP URL on a File System.

public interface IPublicUrlProvider

Methods

GetPublicUrl(String, FileSystemFileReference)

Gets the public URL of a file reference.

string GetPublicUrl(string storeName, FileSystemFileReference file)

Parameters

storeName String
The name of the store.

file FileSystemFileReference
The reference holding the file path.

Returns

String
The public URL.