diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-11 22:32:59 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-11 22:33:39 -0700 |
commit | 8fd37aa11f6da68ed6366a3f98a89feac7501f1e (patch) | |
tree | 108dd73bb3ad7509c1cd73fef75aa6a7c9814bbb /src/DotNetOAuth.Test/Mocks/TestBadChannel.cs | |
parent | f6d28fb14c91c97f6cc8b85c442987082997866a (diff) | |
download | DotNetOpenAuth-8fd37aa11f6da68ed6366a3f98a89feac7501f1e.zip DotNetOpenAuth-8fd37aa11f6da68ed6366a3f98a89feac7501f1e.tar.gz DotNetOpenAuth-8fd37aa11f6da68ed6366a3f98a89feac7501f1e.tar.bz2 |
Refactored Channel's virtual and abstract methods to NOT be "internal" (or public).
This will be useful when we add message signing and verification to the Channel base class.
It's also consistent with design guidelines to never have public (or internal in this case) methods be virtual or abstract so the base class has control over its operations.
Diffstat (limited to 'src/DotNetOAuth.Test/Mocks/TestBadChannel.cs')
-rw-r--r-- | src/DotNetOAuth.Test/Mocks/TestBadChannel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOAuth.Test/Mocks/TestBadChannel.cs b/src/DotNetOAuth.Test/Mocks/TestBadChannel.cs index 5d6802f..1002cbc 100644 --- a/src/DotNetOAuth.Test/Mocks/TestBadChannel.cs +++ b/src/DotNetOAuth.Test/Mocks/TestBadChannel.cs @@ -43,11 +43,11 @@ namespace DotNetOAuth.Test.Mocks { return base.ReadFromRequest(request);
}
- protected internal override IProtocolMessage Request(IDirectedProtocolMessage request) {
+ protected override IProtocolMessage RequestInternal(IDirectedProtocolMessage request) {
throw new NotImplementedException();
}
- protected internal override IProtocolMessage ReadFromResponse(System.IO.Stream responseStream) {
+ protected override IProtocolMessage ReadFromResponseInternal(System.IO.Stream responseStream) {
throw new NotImplementedException();
}
|