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

/Source/ResourceManagement.Client/WsTransfer/ModifyRequest.cs

#
C# | 46 lines | 42 code | 4 blank | 0 comment | 0 complexity | ec077d6c3ee01bf3cbd3833c21dc94e6 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 ModifyRequest
10    {
11        private String dialect;
12        private List<DirectoryAccessChange> changes;
13
14        public ModifyRequest()
15        {
16            this.changes = new List<DirectoryAccessChange>();
17            this.dialect = Constants.Dialect.IdmAttributeType;
18        }
19
20        [XmlAttribute(AttributeName = Constants.Imda.Dialect)]
21        public String Dialect
22        {
23            get
24            {
25                return this.dialect;
26            }
27            set
28            {
29                this.dialect = value;
30            }
31        }
32
33        [XmlElement(ElementName = Constants.Imda.Change)]
34        public List<DirectoryAccessChange> Changes
35        {
36            get
37            {
38                return this.changes;
39            }
40            set
41            {
42                this.changes = value;
43            }
44        }
45    }
46}