{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method 'prototype.callBaseMethod(instance, name, baseArguments)'
Method: prototype.callBaseMethod(instance, name, baseArguments)
Method Full Name:     Type$callBaseMethod(instance, name, baseArguments)
Class: Type
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Type.prototype.callBaseMethod = function Type$callBaseMethod(instance, name, baseArguments) {
2     /// <summary locid="M:J#Type.callBaseMethod" />
3     /// <param name="instance"></param>
4     /// <param name="name" type="String"></param>
5     /// <param name="baseArguments" type="Array" optional="true" mayBeNull="true" elementMayBeNull="true"></param>
6     /// <returns></returns>
7     var e = Function._validateParams(arguments, [
8     {name: "instance"},
9     {name: "name", type: String},
10    {name: "baseArguments", type: Array, mayBeNull: true, optional: true, elementMayBeNull: true}
11    ]);
12    if (e) throw e;
13    var baseMethod = this.getBaseMethod(instance, name);
14    if (!baseMethod) throw Error.invalidOperation(String.format(Sys.Res.methodNotFound, name));
15    if (!baseArguments) {
16      return baseMethod.apply(instance);
17    }
18    else {
19      return baseMethod.apply(instance, baseArguments);
20    }
21  }
This is the JavaScript source for method prototype.callBaseMethod(instance, name, baseArguments) from ASP.NET AJAX Library. Full name for this method is Type$callBaseMethod(instance, name, baseArguments). It belongs to the class Type, which is in Global (MicrosoftAjax.debug.js) namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map