💄 using statements, incorrect docs, deprecated Octokit.Response namespace

This commit is contained in:
Brendan Forster
2014-03-08 16:33:46 +11:00
committed by Tim Sneed
parent e8a98c54a1
commit 9dfd9fa6b9
32 changed files with 22 additions and 53 deletions
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using Octokit.Response;
namespace Octokit.Reactive
{
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Reactive.Threading.Tasks;
using Octokit.Response;
namespace Octokit.Reactive
{
+1 -2
View File
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Octokit.Response;
using Octokit;
using Octokit.Tests.Helpers;
using Xunit;
+1 -1
View File
@@ -258,7 +258,7 @@ II.2.12 <HandlesEvent />

</Patterns>
</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateConstants/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateConstants/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticReadonly/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /&gt;</s:String>
+1 -1
View File
@@ -34,7 +34,7 @@ namespace Octokit
catch (NotFoundException)
{
throw new NotFoundException(
new ApiResponse<object>()
new ApiResponse<object>
{
StatusCode = HttpStatusCode.NotFound,
Body = string.Format("{0} was not found.", uri.OriginalString)
+1 -2
View File
@@ -1,5 +1,4 @@
using System;
#if NET_45
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
+1 -2
View File
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
+1 -1
View File
@@ -53,7 +53,7 @@ namespace Octokit
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="newDeployment">A <see cref="NewDeployment"/> instance describing the new deployment to create</param>
/// <returns>The created <see cref="Deployment"></returns>
/// <returns>The created <see cref="Deployment"/></returns>
public Task<Deployment> Create(string owner, string name, NewDeployment newDeployment)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
+1 -3
View File
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading.Tasks;
namespace Octokit
{
+1 -4
View File
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections.Generic;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Octokit
+1 -1
View File
@@ -34,7 +34,7 @@ namespace Octokit
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="newDeployment">A <see cref="NewDeployment"/> instance describing the new deployment to create</param>
/// <returns>The created <see cref="Deployment"></returns>
/// <returns>The created <see cref="Deployment"/></returns>
Task<Deployment> Create(string owner, string name, NewDeployment newDeployment);
/// <summary>
+1 -2
View File
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading.Tasks;
namespace Octokit
{
+1 -1
View File
@@ -151,7 +151,7 @@ namespace Octokit
/// http://developer.github.com/v3/gists/#unstar-a-gist
/// </remarks>
/// <param name="id">The id of the gist</param>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Unstar")]
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Unstar")]
Task Unstar(string id);
/// <summary>
+1 -2
View File
@@ -1,5 +1,4 @@
using System;
#if NET_45
#if NET_45
using System.Collections.Generic;
#endif
using System.Diagnostics.CodeAnalysis;
@@ -1,7 +1,6 @@
#if NET_45
using System.Collections.Generic;
#endif
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace Octokit
-1
View File
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Octokit.Response;
namespace Octokit
{
-1
View File
@@ -1,7 +1,6 @@
#if NET_45
using System.Collections.Generic;
#endif
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace Octokit
+1 -2
View File
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace Octokit
+1 -2
View File
@@ -1,5 +1,4 @@

using System.Collections.Generic;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
+1 -2
View File
@@ -1,5 +1,4 @@
using System;
#if NET_45
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
-1
View File
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
namespace Octokit
{
+1 -2
View File
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
+1 -2
View File
@@ -1,5 +1,4 @@
using System;
#if NET_45
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
@@ -1,7 +1,6 @@
#if NET_45
using System.Collections.Generic;
#endif
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using System.Net;
+1 -2
View File
@@ -1,5 +1,4 @@
using System;
#if NET_45
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
+1 -2
View File
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
-1
View File
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Octokit.Response;
namespace Octokit
{
-1
View File
@@ -1,7 +1,6 @@
#if NET_45
using System.Collections.Generic;
#endif
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace Octokit
-4
View File
@@ -1,8 +1,4 @@
using System;
#if NET_45
using System.Collections.Generic;
using System.Collections.ObjectModel;
#endif
using System.Threading.Tasks;
namespace Octokit
+1 -2
View File
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
+1 -1
View File
@@ -5,7 +5,7 @@ using System.Diagnostics;
using System.Globalization;
using System.Linq;
namespace Octokit.Response
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class PunchCard
+1 -1
View File
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
namespace Octokit.Response
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class PunchCardPoint