-
-
Notifications
You must be signed in to change notification settings - Fork 747
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #633 from Sergio0694/master
Explicit interface inheritance
- Loading branch information
Showing
11 changed files
with
586 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
########################################################## | ||
#### WhiteSource "Bolt for Github" configuration file #### | ||
########################################################## | ||
|
||
# Configuration # | ||
#---------------# | ||
ws.repo.scan=true | ||
vulnerable.check.run.conclusion.level=success |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System.Threading.Tasks; | ||
using Refit; // InterfaceStubGenerator looks for this | ||
using static System.Math; // This is here to verify https://github.com/paulcbetts/refit/issues/283 | ||
|
||
namespace Refit.Tests | ||
{ | ||
[Headers("User-Agent: Refit Integration Tests")] | ||
public interface IAmInterfaceA | ||
{ | ||
[Get("/get?result=Ping")] | ||
Task<string> Ping(); | ||
} | ||
|
||
[Headers("User-Agent: Refit Integration Tests")] | ||
public interface IAmInterfaceB | ||
{ | ||
[Get("/get?result=Pong")] | ||
Task<string> Pong(); | ||
} | ||
|
||
[Headers("User-Agent: Refit Integration Tests")] | ||
public interface IAmInterfaceC : IAmInterfaceB, IAmInterfaceA | ||
{ | ||
[Get("/get?result=Pang")] | ||
Task<string> Pang(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.