添加项目文件。
This commit is contained in:
1 parent
05e131ca4e
commit
514d6f5255
1162 files changed
+81255
No files matched your search
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using WalkingTec.Mvvm.Core.Extensions;
|
||||
using WalkingTec.Mvvm.Core.Models;
|
||||
|
||||
namespace WalkingTec.Mvvm.Core.Support.FileHandlers
|
||||
{
|
||||
public abstract class WtmFileHandlerBase : IWtmFileHandler
|
||||
{
|
||||
protected WTMContext _wtm;
|
||||
public WtmFileHandlerBase(WTMContext wtm)
|
||||
{
|
||||
_wtm = wtm;
|
||||
}
|
||||
|
||||
|
||||
public virtual void DeleteFile(IWtmFile file)
|
||||
{
|
||||
}
|
||||
|
||||
public virtual Stream GetFileData(IWtmFile file)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual (string path, string handlerInfo) Upload(string fileName, long fileLength, Stream data, string group=null, string subdir = null, string extra=null)
|
||||
{
|
||||
return ("", "");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user