summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-10-21 07:53:56 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-10-22 14:17:33 -0700
commitb08f19f3ebd599a4deb590af5c2b982eb8f08680 (patch)
treeec96b0d711c4cb182da24fa8df654eae6c05a68b
parent0f2849df30baf6ebcebeb99fa6b62e706d3dbd2c (diff)
downloadDotNetOpenAuth-b08f19f3ebd599a4deb590af5c2b982eb8f08680.zip
DotNetOpenAuth-b08f19f3ebd599a4deb590af5c2b982eb8f08680.tar.gz
DotNetOpenAuth-b08f19f3ebd599a4deb590af5c2b982eb8f08680.tar.bz2
Hid the InfoCardSelector.RaisePostBackEvent method that shouldn't have been publicly exposed.
-rw-r--r--src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs b/src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs
index 2c6d677..9605c6f 100644
--- a/src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs
+++ b/src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs
@@ -383,7 +383,15 @@ namespace DotNetOpenAuth.InfoCard {
/// When implemented by a class, enables a server control to process an event raised when a form is posted to the server.
/// </summary>
/// <param name="eventArgument">A <see cref="T:System.String"/> that represents an optional event argument to be passed to the event handler.</param>
- public void RaisePostBackEvent(string eventArgument) {
+ void IPostBackEventHandler.RaisePostBackEvent(string eventArgument) {
+ this.RaisePostBackEvent(eventArgument);
+ }
+
+ /// <summary>
+ /// When implemented by a class, enables a server control to process an event raised when a form is posted to the server.
+ /// </summary>
+ /// <param name="eventArgument">A <see cref="T:System.String"/> that represents an optional event argument to be passed to the event handler.</param>
+ protected virtual void RaisePostBackEvent(string eventArgument) {
if (!string.IsNullOrEmpty(this.TokenXml)) {
try {
ReceivingTokenEventArgs receivingArgs = this.OnReceivingToken(this.TokenXml);