Merge pull request #708 from spicypixel/hotfix/mono-object-to-string
[mono.git] / mcs / class / System.DirectoryServices / System.DirectoryServices / SortOption.cs
index a49622a18a7beef3af1eeb56c3340928f79f0be2..14975f1051170e03c4c07a5bd826057b9290fe56 100644 (file)
@@ -28,6 +28,8 @@ namespace System.DirectoryServices {
                        this.direction = direction;
                }
 
+               [DSDescription ("Name of propertion to be sorted on"),
+                DefaultValue (null)]
                public String PropertyName {
                        get { return propertyName; }
                        set {
@@ -37,6 +39,8 @@ namespace System.DirectoryServices {
                        }
                }
 
+               [DSDescription ("Whether the sort is ascending or descending"),
+                DefaultValue (SortDirection.Ascending)]
                public SortDirection Direction {
                        get { return direction; }
                        set { direction = value; }