Class FileCache
Assembly: P42.Utils.dll
Syntax
public static class FileCache
Methods
|
Improve this Doc
View Source
Cache(String, String)
Declaration
public static string Cache(string sourceFilePath, string folderName = null)
Parameters
Type |
Name |
Description |
String |
sourceFilePath |
|
String |
folderName |
|
Returns
|
Improve this Doc
View Source
CacheAsync(String, String)
Declaration
public static Task<string> CacheAsync(string sourceFilePath, string folderName = null)
Parameters
Type |
Name |
Description |
String |
sourceFilePath |
|
String |
folderName |
|
Returns
|
Improve this Doc
View Source
Clear(DateTime, String, String)
Declaration
public static bool Clear(DateTime dateTime, string sourceFilePath = null, string folderName = null)
Parameters
Returns
|
Improve this Doc
View Source
Clear(String, String)
Declaration
public static bool Clear(string sourceFilePath = null, string folderName = null)
Parameters
Type |
Name |
Description |
String |
sourceFilePath |
|
String |
folderName |
|
Returns
|
Improve this Doc
View Source
Clear(TimeSpan, String, String)
Declaration
public static bool Clear(TimeSpan timeSpan, string sourceFilePath = null, string folderName = null)
Parameters
Returns
|
Improve this Doc
View Source
List(String)
Declaration
public static List<string> List(string folderName)
Parameters
Type |
Name |
Description |
String |
folderName |
|
Returns