Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-03-15 19:21:29 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2017-03-16 15:02:09 +0300
commit00dac826ca675e62e6b896788beb18a04c0df824 (patch)
tree496a38d066646275966b393c0aec66a37c2f47ef /mcs/class/System.Web.Extensions
parentf4a7a5242ab9dbf55536c57323ad4de203a0db5c (diff)
[System.Web.Extensions] Rename method parameters to match .NET contract
Diffstat (limited to 'mcs/class/System.Web.Extensions')
-rw-r--r--mcs/class/System.Web.Extensions/System.Web.Handlers/ScriptModule.cs10
-rw-r--r--mcs/class/System.Web.Extensions/System.Web.UI/ScriptResourceAttribute.cs8
2 files changed, 9 insertions, 9 deletions
diff --git a/mcs/class/System.Web.Extensions/System.Web.Handlers/ScriptModule.cs b/mcs/class/System.Web.Extensions/System.Web.Handlers/ScriptModule.cs
index 9c05b6da132..fc53ba0bb3b 100644
--- a/mcs/class/System.Web.Extensions/System.Web.Handlers/ScriptModule.cs
+++ b/mcs/class/System.Web.Extensions/System.Web.Handlers/ScriptModule.cs
@@ -1,4 +1,4 @@
-//
+//
// ScriptModule.cs
//
// Author:
@@ -37,10 +37,10 @@ namespace System.Web.Handlers
{
public class ScriptModule : IHttpModule
{
- protected virtual void Init (HttpApplication context) {
- context.PreSendRequestHeaders += new EventHandler (PreSendRequestHeaders);
- context.PostAcquireRequestState += new EventHandler (PostAcquireRequestState);
- context.AuthenticateRequest += new EventHandler (AuthenticateRequest);
+ protected virtual void Init (HttpApplication app) {
+ app.PreSendRequestHeaders += new EventHandler (PreSendRequestHeaders);
+ app.PostAcquireRequestState += new EventHandler (PostAcquireRequestState);
+ app.AuthenticateRequest += new EventHandler (AuthenticateRequest);
}
void AuthenticateRequest (object sender, EventArgs e) {
diff --git a/mcs/class/System.Web.Extensions/System.Web.UI/ScriptResourceAttribute.cs b/mcs/class/System.Web.Extensions/System.Web.UI/ScriptResourceAttribute.cs
index bb3c401d541..f09ccc9adc0 100644
--- a/mcs/class/System.Web.Extensions/System.Web.UI/ScriptResourceAttribute.cs
+++ b/mcs/class/System.Web.Extensions/System.Web.UI/ScriptResourceAttribute.cs
@@ -1,4 +1,4 @@
-//
+//
// ScriptResourceAttribute.cs
//
// Author:
@@ -40,10 +40,10 @@ namespace System.Web.UI
string _scriptResourceName;
string _typeName;
- public ScriptResourceAttribute (string scriptName, string scriptResourceName, string typeName) {
+ public ScriptResourceAttribute (string scriptName, string stringResourceName, string stringResourceClientTypeName) {
_scriptName = scriptName;
- _scriptResourceName = scriptResourceName;
- _typeName = typeName;
+ _scriptResourceName = stringResourceName;
+ _typeName = stringResourceClientTypeName;
}
public string ScriptName {