move clients into root namespace

Only we can stop namespace proliferation.
This commit is contained in:
half-ogre
2013-10-08 15:08:00 -07:00
parent e25173f65c
commit 39b4c35e7c
19 changed files with 29 additions and 19 deletions

View File

@@ -1,6 +1,5 @@
using System;
using NSubstitute;
using Octokit.Clients;
using Octokit.Http;
using Xunit;

View File

@@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Clients;
using Octokit.Http;
using Xunit;

View File

@@ -1,7 +1,6 @@
using System;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Clients;
using Octokit.Http;
using Octokit.Tests.Helpers;
using Xunit;

View File

@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Clients;
using Octokit.Http;
using Octokit.Tests.Helpers;
using Xunit;

View File

@@ -2,7 +2,6 @@ using System;
using System.Text;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Clients;
using Octokit.Http;
using Octokit.Tests.Helpers;
using Xunit;

View File

@@ -1,7 +1,6 @@
using System;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Clients;
using Octokit.Http;
using Octokit.Tests.Helpers;
using Xunit;

View File

@@ -4,7 +4,6 @@ using System.Collections.ObjectModel;
#endif
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Clients;
using Octokit.Http;
using Octokit.Tests.Helpers;
using Xunit;

View File

@@ -1,6 +1,6 @@
using Octokit.Http;
namespace Octokit.Clients
namespace Octokit
{
public abstract class ApiClient<T>
{

View File

@@ -1,9 +1,11 @@
using System;
using System.Collections.Generic;
#if NET_45
using System.Collections.ObjectModel;
#endif
using System.Threading.Tasks;
namespace Octokit.Clients
namespace Octokit
{
/// <summary>
/// Used to paginate through API response results.

View File

@@ -1,9 +1,11 @@
using System;
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
using Octokit.Http;
namespace Octokit.Clients
namespace Octokit
{
public class AuthorizationsClient : ApiClient<Authorization>, IAuthorizationsClient
{

View File

@@ -1,11 +1,13 @@
using System;
using System.Collections.Generic;
#if NET_45
using System.Collections.ObjectModel;
#endif
using System.Linq;
using System.Threading.Tasks;
using Octokit.Http;
namespace Octokit.Clients
namespace Octokit
{
public class MiscellaneousClient : IMiscellaneousClient
{

View File

@@ -1,9 +1,11 @@
using System;
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
using Octokit.Http;
namespace Octokit.Clients
namespace Octokit
{
public class OrganizationsClient : ApiClient<Organization>, IOrganizationsClient
{

View File

@@ -1,8 +1,10 @@
using System.Collections.Generic;
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
using Octokit.Http;
namespace Octokit.Clients
namespace Octokit
{
public class ReleasesClient : ApiClient<Release>, IReleasesClient
{

View File

@@ -1,9 +1,11 @@
using System;
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
using Octokit.Http;
namespace Octokit.Clients
namespace Octokit
{
public class RepositoriesClient : ApiClient<Repository>, IRepositoriesClient
{

View File

@@ -1,9 +1,11 @@
using System;
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
using Octokit.Http;
namespace Octokit.Clients
namespace Octokit
{
public class SshKeysClient : ApiClient<SshKey>, ISshKeysClient
{

View File

@@ -1,10 +1,12 @@
using System;
#if NET_45
using System.Collections.Generic;
using System.Collections.ObjectModel;
#endif
using System.Threading.Tasks;
using Octokit.Http;
namespace Octokit.Clients
namespace Octokit
{
/// <summary>
/// Supports the ability to get and update users via the GitHub API v3.

View File

@@ -1,5 +1,4 @@
using System;
using Octokit.Clients;
using Octokit.Http;
namespace Octokit

View File

@@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Octokit.Clients;
namespace Octokit.Http
{

View File

@@ -1,2 +1,5 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=Clients/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=Exceptions/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=Helpers/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=Models/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>