1. lfoust
  2. stacky

Source

stacky / trunk / source / Stacky.Net35 / Options / QuestionSearchOptions.cs

Diff from to

File trunk/source/Stacky.Net35/Options/QuestionSearchOptions.cs

  • Ignore whitespace
-using System.Collections.Generic;
-
 namespace Stacky
 {
-    public class QuestionSearchOptions
+    using System.Collections.Generic;
+
+    public class QuestionSearchOptions : TaggedOptions<QuestionSort>
     {
+        public IEnumerable<string> NotTagged = null;
         public string InTitle = null;
-        public IEnumerable<string> Tagged = null;
+    }
+
+    public class SimiliarQuestionsOptions : TaggedOptions<QuestionSort>
+    {
         public IEnumerable<string> NotTagged = null;
-        public SearchSort SortBy = SearchSort.Activity;
-        public SortDirection SortDirection = SortDirection.Descending;
-        public int? Page = null;
-        public int? PageSize = null;
-        public int? Min = null;
-        public int? Max = null;
     }
 }