Пример #1
0
 /// <summary>
 /// Configure default file access option
 /// </summary>
 /// <param name="fileAccessOption">File access option</param>
 public static void ConfigureDefault(FileAccessOption fileAccessOption)
 {
     Default = fileAccessOption;
 }
Пример #2
0
 /// <summary>
 /// Get file full path
 /// </summary>
 /// <param name="fileAccessOption">File access option</param>
 /// <param name="relativePath">File path</param>
 /// <returns>Return file full path</returns>
 public static string GetFileFullPath(FileAccessOption fileAccessOption, string relativePath)
 {
     return(fileAccessOption?.GetFilePath(relativePath) ?? relativePath);
 }