PageRenderTime 47ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/Source/ResourceManagement.Client/WsTransfer/DirectoryAccessChange.cs

#
C# | 60 lines | 55 code | 5 blank | 0 comment | 0 complexity | 81bd1ca3f389c877bef2008b10f3fd18 MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Xml.Serialization;
  4. using System.Text;
  5. namespace Microsoft.ResourceManagement.Client.WsTransfer
  6. {
  7. [XmlRoot(Namespace=Constants.Imda.Namespace)]
  8. public class DirectoryAccessChange
  9. {
  10. private String operation;
  11. private string attributeType;
  12. private PartialAttributeType attributeValue;
  13. public DirectoryAccessChange()
  14. {
  15. this.attributeType = String.Empty;
  16. this.attributeValue = new PartialAttributeType();
  17. }
  18. [XmlAttribute(AttributeName = Constants.Imda.Operation)]
  19. public String Operation
  20. {
  21. get
  22. {
  23. return this.operation;
  24. }
  25. set
  26. {
  27. this.operation = value;
  28. }
  29. }
  30. [XmlElement()]
  31. public String AttributeType
  32. {
  33. get
  34. {
  35. return this.attributeType;
  36. }
  37. set
  38. {
  39. this.attributeType = value;
  40. }
  41. }
  42. [XmlElement()]
  43. public PartialAttributeType AttributeValue
  44. {
  45. get
  46. {
  47. return this.attributeValue;
  48. }
  49. set
  50. {
  51. this.attributeValue = value;
  52. }
  53. }
  54. }
  55. }