mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 05:35:11 +00:00
move clients into root namespace
Only we can stop namespace proliferation.
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using NSubstitute;
|
using NSubstitute;
|
||||||
using Octokit.Clients;
|
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using NSubstitute;
|
using NSubstitute;
|
||||||
using Octokit.Clients;
|
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using NSubstitute;
|
using NSubstitute;
|
||||||
using Octokit.Clients;
|
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
using Octokit.Tests.Helpers;
|
using Octokit.Tests.Helpers;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using NSubstitute;
|
using NSubstitute;
|
||||||
using Octokit.Clients;
|
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
using Octokit.Tests.Helpers;
|
using Octokit.Tests.Helpers;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ using System;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using NSubstitute;
|
using NSubstitute;
|
||||||
using Octokit.Clients;
|
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
using Octokit.Tests.Helpers;
|
using Octokit.Tests.Helpers;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using NSubstitute;
|
using NSubstitute;
|
||||||
using Octokit.Clients;
|
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
using Octokit.Tests.Helpers;
|
using Octokit.Tests.Helpers;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ using System.Collections.ObjectModel;
|
|||||||
#endif
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using NSubstitute;
|
using NSubstitute;
|
||||||
using Octokit.Clients;
|
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
using Octokit.Tests.Helpers;
|
using Octokit.Tests.Helpers;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
|
|
||||||
namespace Octokit.Clients
|
namespace Octokit
|
||||||
{
|
{
|
||||||
public abstract class ApiClient<T>
|
public abstract class ApiClient<T>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
#if NET_45
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Octokit.Clients
|
namespace Octokit
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Used to paginate through API response results.
|
/// Used to paginate through API response results.
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
#if NET_45
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
|
|
||||||
namespace Octokit.Clients
|
namespace Octokit
|
||||||
{
|
{
|
||||||
public class AuthorizationsClient : ApiClient<Authorization>, IAuthorizationsClient
|
public class AuthorizationsClient : ApiClient<Authorization>, IAuthorizationsClient
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
#if NET_45
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
#endif
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
|
|
||||||
namespace Octokit.Clients
|
namespace Octokit
|
||||||
{
|
{
|
||||||
public class MiscellaneousClient : IMiscellaneousClient
|
public class MiscellaneousClient : IMiscellaneousClient
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
#if NET_45
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
|
|
||||||
namespace Octokit.Clients
|
namespace Octokit
|
||||||
{
|
{
|
||||||
public class OrganizationsClient : ApiClient<Organization>, IOrganizationsClient
|
public class OrganizationsClient : ApiClient<Organization>, IOrganizationsClient
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
using System.Collections.Generic;
|
#if NET_45
|
||||||
|
using System.Collections.Generic;
|
||||||
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
|
|
||||||
namespace Octokit.Clients
|
namespace Octokit
|
||||||
{
|
{
|
||||||
public class ReleasesClient : ApiClient<Release>, IReleasesClient
|
public class ReleasesClient : ApiClient<Release>, IReleasesClient
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
#if NET_45
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
|
|
||||||
namespace Octokit.Clients
|
namespace Octokit
|
||||||
{
|
{
|
||||||
public class RepositoriesClient : ApiClient<Repository>, IRepositoriesClient
|
public class RepositoriesClient : ApiClient<Repository>, IRepositoriesClient
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
#if NET_45
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
|
|
||||||
namespace Octokit.Clients
|
namespace Octokit
|
||||||
{
|
{
|
||||||
public class SshKeysClient : ApiClient<SshKey>, ISshKeysClient
|
public class SshKeysClient : ApiClient<SshKey>, ISshKeysClient
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
using System;
|
using System;
|
||||||
|
#if NET_45
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
|
|
||||||
namespace Octokit.Clients
|
namespace Octokit
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Supports the ability to get and update users via the GitHub API v3.
|
/// Supports the ability to get and update users via the GitHub API v3.
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using Octokit.Clients;
|
|
||||||
using Octokit.Http;
|
using Octokit.Http;
|
||||||
|
|
||||||
namespace Octokit
|
namespace Octokit
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Octokit.Clients;
|
|
||||||
|
|
||||||
namespace Octokit.Http
|
namespace Octokit.Http
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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">
|
<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>
|
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=Models/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
||||||
Reference in New Issue
Block a user