LockProperty.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. namespace Mtp2Dav.WebDAVSharp.Server._1d2086a502937936ebc6bfe19cfa15d855be1c31
  2. {
  3. /// <summary>
  4. /// The property with all the information of a lock
  5. /// </summary>
  6. internal class LockProperty
  7. {
  8. /// <summary>
  9. /// The standard constructor
  10. /// </summary>
  11. public LockProperty()
  12. {
  13. Locktype = string.Empty;
  14. Lockscope = string.Empty;
  15. Depth = string.Empty;
  16. Owner = string.Empty;
  17. Timeout = string.Empty;
  18. Locktoken = string.Empty;
  19. }
  20. /// <summary>
  21. /// The constructor with all the specific values
  22. /// </summary>
  23. /// <param name="locktype">The locktype of the lock</param>
  24. /// <param name="lockscope">The lockscope of the lock</param>
  25. /// <param name="depth">The depth of the lock</param>
  26. /// <param name="owner">The owner of the lock</param>
  27. /// <param name="timeout">The timeout of the lock</param>
  28. /// <param name="locktoken">The locktoken.</param>
  29. public LockProperty(string locktype, string lockscope, string depth, string owner, string timeout,
  30. string locktoken)
  31. {
  32. Locktype = locktype;
  33. Lockscope = lockscope;
  34. Depth = depth;
  35. Owner = owner;
  36. Timeout = timeout;
  37. Locktoken = locktoken;
  38. }
  39. public string Locktype { get; set; }
  40. public string Lockscope { get; set; }
  41. public string Depth { get; set; }
  42. public string Owner { get; set; }
  43. public string Timeout { get; set; }
  44. public string Locktoken { get; set; }
  45. }
  46. }