{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.getBaseMethod(instance, name)'
Method: prototype.getBaseMethod(instance, name)
Method Full Name:     Type$getBaseMethod(instance, name)
Class: Type
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Type.prototype.getBaseMethod = function Type$getBaseMethod(instance, name) {
2     /// <summary locid="M:J#Type.getBaseMethod" />
3     /// <param name="instance"></param>
4     /// <param name="name" type="String"></param>
5     /// <returns type="Function" mayBeNull="true"></returns>
6     var e = Function._validateParams(arguments, [
7     {name: "instance"},
8     {name: "name", type: String}
9     ]);
10    if (e) throw e;
11    if (!this.isInstanceOfType(instance)) throw Error.argumentType('instance', Object.getType(instance), this);
12    var baseType = this.getBaseType();
13    if (baseType) {
14      var baseMethod = baseType.prototype[name];
15      return (baseMethod instanceof Function) ? baseMethod : null;
16    }
17    return null;
18  }
This is the JavaScript source for method prototype.getBaseMethod(instance, name) from ASP.NET AJAX Library. Full name for this method is Type$getBaseMethod(instance, name). 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