The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UploadViewModel.cs 846B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Teknik.Utilities;
  6. using Teknik.ViewModels;
  7. namespace Teknik.Areas.Upload.ViewModels
  8. {
  9. public class UploadViewModel : ViewModelBase
  10. {
  11. public string CurrentSub { get; set; }
  12. public bool Encrypt { get; set; }
  13. public int ExpirationLength { get; set; }
  14. public ExpirationUnit ExpirationUnit { get; set; }
  15. public List<Vault.Models.Vault> Vaults { get; set; }
  16. public long MaxUploadSize { get; set; }
  17. public UploadViewModel()
  18. {
  19. CurrentSub = string.Empty;
  20. Encrypt = false;
  21. ExpirationLength = 1;
  22. ExpirationUnit = ExpirationUnit.Never;
  23. Vaults = new List<Vault.Models.Vault>();
  24. MaxUploadSize = 0;
  25. }
  26. }
  27. }