Move more types into the Octokit namespace

This makes it so GHfW doesn't have to reference Octokit.Internal
This commit is contained in:
Haacked
2013-10-08 16:59:27 -07:00
parent f41ae39744
commit 2d81cb37cc
11 changed files with 13 additions and 11 deletions
-1
View File
@@ -3,7 +3,6 @@
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
using Octokit.Internal;
namespace Octokit
{
+2 -1
View File
@@ -2,8 +2,9 @@
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Octokit.Internal;
namespace Octokit.Internal
namespace Octokit
{
public class ApiConnection<T> : IApiConnection<T>
{
+1 -1
View File
@@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Collections.ObjectModel;
#endif
namespace Octokit.Internal
namespace Octokit
{
/// <summary>
/// Extra information returned as part of each api response.
+1 -1
View File
@@ -1,6 +1,6 @@
using System;
namespace Octokit.Internal
namespace Octokit
{
public static class ApiInfoExtensions
{
+2 -1
View File
@@ -4,8 +4,9 @@ using System.Globalization;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Octokit.Internal;
namespace Octokit.Internal
namespace Octokit
{
// NOTE: Every request method must go through the `RunRequest` code path. So if you need to add a new method
// ensure it goes through there. :)
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Diagnostics.CodeAnalysis;
namespace Octokit.Internal
namespace Octokit
{
public class Credentials
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Octokit.Internal
namespace Octokit
{
public static class CredentialsExtensions
{
+1 -1
View File
@@ -4,7 +4,7 @@ using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Threading.Tasks;
namespace Octokit.Internal
namespace Octokit
{
/// <summary>
/// Wraps an IConnection and provides useful methods for an endpoint.
+1 -1
View File
@@ -4,7 +4,7 @@ using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Threading.Tasks;
namespace Octokit.Internal
namespace Octokit
{
public interface IConnection
{
+1 -1
View File
@@ -1,7 +1,7 @@
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace Octokit.Internal
namespace Octokit
{
public interface ICredentialStore
{
+2 -1
View File
@@ -1,8 +1,9 @@
using System;
using System.Collections.Generic;
using System.Net;
using Octokit.Internal;
namespace Octokit.Internal
namespace Octokit
{
public interface IResponse<T> : IResponse
{