Commits

Anonymous committed 7b4f574

Removed the last refs to StackOverflow, changed CommunityOwned to bool in Question.

  • Participants
  • Parent commits fce93c5

Comments (0)

Files changed (6)

File trunk/examples/Stacky.Mvc/Stacky.Mvc/Models/StackyRepository.cs

 
         private StackyRepository()
         {
-            _apiVersion = ConfigurationManager.AppSettings["StackOverflow.Net.ApiVersion"];
-            _apiKey = ConfigurationManager.AppSettings["StackOverflow.Net.ApiKey"];
+            _apiVersion = ConfigurationManager.AppSettings["Stacky.ApiVersion"];
+            _apiKey = ConfigurationManager.AppSettings["Stacky.ApiKey"];
             _urlClient = new UrlClient();
             _protocol = new JsonProtocol();
         }

File trunk/examples/Stacky.Mvc/Stacky.Mvc/Views/Badges/Badges.aspx

-<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<StackOverflow.PagedList<StackOverflow.Badge>>" %>
+<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Stacky.PagedList<Stacky.Badge>>" %>
 
 <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
 	Badges

File trunk/examples/Stacky.Mvc/Stacky.Mvc/Views/Tags/Tags.aspx

-<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<StackOverflow.PagedList<StackOverflow.Tag>>" %>
+<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Stacky.PagedList<Stacky.Tag>>" %>
 
 <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
 	Tags

File trunk/examples/Stacky.Mvc/Stacky.Mvc/Views/Users/Users.aspx

-<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<StackOverflow.PagedList<StackOverflow.User>>" %>
+<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Stacky.PagedList<Stacky.User>>" %>
 
 <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
 	Users

File trunk/examples/Stacky.Mvc/Stacky.Mvc/Web.config

   -->
 <configuration>
   <appSettings>
-    <add key="StackOverflow.Net.ApiKey" value=""/>
-    <add key="StackOverflow.Net.ApiKey" value="ume5adsSM029_vr2KIUIyw"/>
-    <add key="StackOverflow.Net.ApiVersion" value="0.8"/>
+    <add key="Stacky.ApiKey" value="ume5adsSM029_vr2KIUIyw"/>
+    <add key="Stacky.ApiVersion" value="0.8"/>
   </appSettings>
   <system.web>
     <compilation debug="true" targetFramework="4.0">
         <add namespace="System.Web.Mvc.Html" />
         <add namespace="System.Web.Routing" />
         <add namespace="Stacky.Mvc"/>
-        <add namespace="StackOverflow"/>
+        <add namespace="Stacky"/>
       </namespaces>
     </pages>
   </system.web>

File trunk/source/Stacky/Entities/Question.cs

         public int Score { get; set; }
 
         [JsonProperty("community_owned")]
-        public string CommunityOwned { get; set; }
+        public bool CommunityOwned { get; set; }
 
         [JsonProperty("accepted_answer_id")]
         public int AcceptedAnswerId { get; set; }