mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-09 21:09:51 +00:00
Move more types into the Octokit namespace
This makes it so GHfW doesn't have to reference Octokit.Internal
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
using System.Collections.Generic;
|
||||
#endif
|
||||
using System.Threading.Tasks;
|
||||
using Octokit.Internal;
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
{
|
||||
|
||||
@@ -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,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace Octokit.Internal
|
||||
namespace Octokit
|
||||
{
|
||||
public static class ApiInfoExtensions
|
||||
{
|
||||
|
||||
@@ -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,6 +1,6 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Octokit.Internal
|
||||
namespace Octokit
|
||||
{
|
||||
public class Credentials
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Octokit.Internal
|
||||
namespace Octokit
|
||||
{
|
||||
public static class CredentialsExtensions
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Diagnostics.CodeAnalysis;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Octokit.Internal
|
||||
namespace Octokit
|
||||
{
|
||||
public interface IConnection
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Octokit.Internal
|
||||
namespace Octokit
|
||||
{
|
||||
public interface ICredentialStore
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user