You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lchrennew edited this page Dec 18, 2012
·
3 revisions
WebFileManager.IFilenameParser defines the behavior to parse file names out from a string which will be passed from the URL query string parameter f.
Members
1. Parse Method
/// <summary>
/// Parse filenames from a single string
/// </summary>
/// <param name="filename">a string passed from URL query string parameter `f`</param>
/// <param name="ext">output the extension of the file name.
/// ext will be used to determine what content-type(MIME-Type) should be returned.</param>
/// <returns></returns>
IEnumerable<string> Parse(string filename, out string ext);