mirror of https://github.com/abpframework/abp.git
2 changed files with 27 additions and 8 deletions
@ -1,7 +1,22 @@ |
|||
namespace Volo.Blogging.Files |
|||
using System.Security.Cryptography; |
|||
using Volo.Abp.Threading; |
|||
|
|||
namespace Volo.Blogging.Files |
|||
{ |
|||
public class RawFileDto |
|||
{ |
|||
public byte[] Bytes { get; set; } |
|||
|
|||
public bool IsFileEmpty => Bytes == null || Bytes.Length == 0; |
|||
|
|||
public RawFileDto() |
|||
{ |
|||
|
|||
} |
|||
|
|||
public static RawFileDto EmptyResult() |
|||
{ |
|||
return new RawFileDto() {Bytes = new byte[0]}; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue