{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.inheritsFrom(parentType)'
Method: prototype.inheritsFrom(parentType)
Method Full Name:     Type$inheritsFrom(parentType)
Class: Type
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Type.prototype.inheritsFrom = function Type$inheritsFrom(parentType) {
2     /// <summary locid="M:J#Type.inheritsFrom" />
3     /// <param name="parentType" type="Type"></param>
4     /// <returns type="Boolean"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "parentType", type: Type}
7     ]);
8     if (e) throw e;
9     this.resolveInheritance();
10    var baseType = this.__baseType;
11    while (baseType) {
12      if (baseType === parentType) {
13        return true;
14      }
15      baseType = baseType.__baseType;
16    }
17    return false;
18  }
This is the JavaScript source for method prototype.inheritsFrom(parentType) from ASP.NET AJAX Library. Full name for this method is Type$inheritsFrom(parentType). 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