mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-09 21:09:51 +00:00
Method of assembly determination was changed in order to use types of top level (#1273)
This commit is contained in:
committed by
Brendan Forster
parent
190ccf04c2
commit
494bbfda42
@@ -97,7 +97,7 @@ namespace Octokit.Tests.Conventions
|
||||
|
||||
public static IEnumerable<object[]> GetClientInterfaces()
|
||||
{
|
||||
return typeof(IEventsClient)
|
||||
return typeof(IGitHubClient)
|
||||
.Assembly
|
||||
.ExportedTypes
|
||||
.Where(TypeExtensions.IsClientInterface)
|
||||
@@ -119,7 +119,7 @@ namespace Octokit.Tests.Conventions
|
||||
{
|
||||
var allModelTypes = new HashSet<Type>();
|
||||
|
||||
var clientInterfaces = typeof(IEventsClient).Assembly.ExportedTypes
|
||||
var clientInterfaces = typeof(IGitHubClient).Assembly.ExportedTypes
|
||||
.Where(type => type.IsClientInterface());
|
||||
|
||||
foreach (var exportedType in clientInterfaces)
|
||||
|
||||
Reference in New Issue
Block a user