Update ...
This commit is contained in:
@@ -10,7 +10,6 @@ using System.Threading.Tasks;
|
||||
using xStorageService.Models;
|
||||
using xStorageService.Helpers;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using xStorageService.Constants;
|
||||
using System.Collections.Generic;
|
||||
using xStorageService.Interfaces;
|
||||
using System.Collections.ObjectModel;
|
||||
@@ -522,7 +521,7 @@ namespace xStorageService.Providers
|
||||
/// </summary>
|
||||
/// <param name="fileName"></param>
|
||||
/// <returns></returns>
|
||||
public FileExtensions GetFileExtensionType(string fileName)
|
||||
public XFileExtensions GetFileExtensionType(string fileName)
|
||||
{
|
||||
//
|
||||
var fileExt = GetFileExtension(fileName);
|
||||
@@ -539,7 +538,7 @@ namespace xStorageService.Providers
|
||||
}
|
||||
|
||||
//
|
||||
return (FileExtensions)result;
|
||||
return (XFileExtensions)result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -559,7 +558,7 @@ namespace xStorageService.Providers
|
||||
/// </summary>
|
||||
/// <param name="fileExtension"></param>
|
||||
/// <returns></returns>
|
||||
public XFileType GetFileType(FileExtensions fileExtension)
|
||||
public XFileType GetFileType(XFileExtensions fileExtension)
|
||||
{
|
||||
return StorageHelper.GetType((int)fileExtension);
|
||||
}
|
||||
@@ -1020,8 +1019,8 @@ namespace xStorageService.Providers
|
||||
{
|
||||
//
|
||||
var savedFileName = await SaveFileAsync(
|
||||
file,
|
||||
isTemp: false,
|
||||
file,
|
||||
isTemp: false,
|
||||
isWidget: false,
|
||||
cancellationToken: cancellationToken
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user