/Source/ResourceManagement.Client/WsEnumeration/Sorting.cs
C# | 38 lines | 34 code | 4 blank | 0 comment | 2 complexity | 856309315db794e95bb2ca9b67382b7d MD5 | raw file
- using System;
- using System.Collections.Generic;
- using System.Xml.Serialization;
- using System.Text;
-
- namespace Microsoft.ResourceManagement.Client.WsEnumeration
- {
- [XmlRoot(Namespace=Constants.Rm.Namespace)]
- public class Sorting
- {
-
- List<SortingAttribute> sorting;
-
- public Sorting()
- {
- this.Dialect = Constants.Rm.Namespace;
- this.SortingAttribute = new List<SortingAttribute>();
- }
- [XmlAttribute()]
- public String Dialect;
-
- [XmlElement()]
- public List<SortingAttribute> SortingAttribute
- {
- get
- {
- if (sorting.Count == 0)
- return null;
- else
- return sorting;
- }
- set
- {
- this.sorting = value;
- }
- }
- }
- }