summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-10-21 08:45:28 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-10-22 14:17:37 -0700
commit35449a880d3a059f0767490e6aae5858fb6dc720 (patch)
tree07b64618ca5b8eacc3d54c76901293acd890caad /src
parentb08f19f3ebd599a4deb590af5c2b982eb8f08680 (diff)
downloadDotNetOpenAuth-35449a880d3a059f0767490e6aae5858fb6dc720.zip
DotNetOpenAuth-35449a880d3a059f0767490e6aae5858fb6dc720.tar.gz
DotNetOpenAuth-35449a880d3a059f0767490e6aae5858fb6dc720.tar.bz2
Removed a magic string.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs b/src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs
index 9605c6f..d3215da 100644
--- a/src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs
+++ b/src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs
@@ -5,7 +5,7 @@
// </copyright>
//-----------------------------------------------------------------------
-[assembly: System.Web.UI.WebResource("DotNetOpenAuth.InfoCard.SupportingScript.js", "text/javascript")]
+[assembly: System.Web.UI.WebResource(DotNetOpenAuth.InfoCard.InfoCardSelector.ScriptResourceName, "text/javascript")]
namespace DotNetOpenAuth.InfoCard {
using System;
@@ -46,6 +46,11 @@ namespace DotNetOpenAuth.InfoCard {
[ToolboxData("<{0}:InfoCardSelector runat=\"server\"><ClaimsRequested><{0}:ClaimType Name=\"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier\" /></ClaimsRequested><UnsupportedTemplate><p>Your browser does not support Information Cards.</p></UnsupportedTemplate></{0}:InfoCardSelector>")]
[ContractVerification(true)]
public class InfoCardSelector : CompositeControl, IPostBackEventHandler {
+ /// <summary>
+ /// The resource name for getting at the SupportingScript.js embedded manifest stream.
+ /// </summary>
+ internal const string ScriptResourceName = "DotNetOpenAuth.InfoCard.SupportingScript.js";
+
#region Property constants
/// <summary>
@@ -170,11 +175,6 @@ namespace DotNetOpenAuth.InfoCard {
#endregion
/// <summary>
- /// The resource name for getting at the SupportingScript.js embedded manifest stream.
- /// </summary>
- private const string ScriptResourceName = "DotNetOpenAuth.InfoCard.SupportingScript.js";
-
- /// <summary>
/// The panel containing the controls to display if InfoCard is supported in the user agent.
/// </summary>
private Panel infoCardSupportedPanel;