PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

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