IWebDAVStoreItem.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using System;
  2. namespace Mtp2Dav.WebDAVSharp.Server._1d2086a502937936ebc6bfe19cfa15d855be1c31.Stores
  3. {
  4. /// <summary>
  5. /// This interface must be implemented by classes that will function as a store item,
  6. /// which is either a document (
  7. /// <see cref="IWebDavStoreDocument" />) or a
  8. /// collection of documents (
  9. /// <see cref="IWebDavStoreCollection" />.)
  10. /// </summary>
  11. public interface IWebDavStoreItem
  12. {
  13. /// <summary>
  14. /// Gets or sets the name of this <see cref="IWebDavStoreItem" />.
  15. /// </summary>
  16. /// <value>
  17. /// The name.
  18. /// </value>
  19. string Name { get; set; }
  20. /// <summary>
  21. /// Gets the ItemPath of this <see cref="IWebDavStoreItem" />.
  22. /// </summary>
  23. /// <value>
  24. /// The item path.
  25. /// </value>
  26. string ItemPath { get; }
  27. /// <summary>
  28. /// Gets if this <see cref="IWebDavStoreItem" /> is a collection.
  29. /// </summary>
  30. /// <value>
  31. /// <c>true</c> if this instance is collection; otherwise, <c>false</c>.
  32. /// </value>
  33. bool IsCollection { get; }
  34. /// <summary>
  35. /// Gets the creation date of this <see cref="IWebDavStoreItem" />.
  36. /// </summary>
  37. /// <value>
  38. /// The creation date.
  39. /// </value>
  40. DateTime CreationDate { get; }
  41. /// <summary>
  42. /// Gets the modification date of this <see cref="IWebDavStoreItem" />.
  43. /// </summary>
  44. /// <value>
  45. /// The modification date.
  46. /// </value>
  47. DateTime ModificationDate { get; }
  48. /// <summary>
  49. /// Gets the hidden state of this <see cref="IWebDavStoreItem" />.
  50. /// </summary>
  51. /// <value>
  52. /// 1 if hidden, 0 if not.
  53. /// </value>
  54. int Hidden { get; }
  55. }
  56. }