{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.getInterfaces()'
Method: prototype.getInterfaces()
Method Full Name:     Type$getInterfaces()
Class: Type
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Type.prototype.getInterfaces = function Type$getInterfaces() {
2     /// <summary locid="M:J#Type.getInterfaces" />
3     /// <returns type="Array" elementType="Type" mayBeNull="false" elementMayBeNull="false"></returns>
4     if (arguments.length !== 0) throw Error.parameterCount();
5     var result = [];
6     var type = this;
7     while(type) {
8       var interfaces = type.__interfaces;
9       if (interfaces) {
10        for (var i = 0, l = interfaces.length; i < l; i++) {
11          var interfaceType = interfaces[i];
12          if (!Array.contains(result, interfaceType)) {
13            result[result.length] = interfaceType;
14          }
15        }
16      }
17      type = type.__baseType;
18    }
19    return result;
20  }
This is the JavaScript source for method prototype.getInterfaces() from ASP.NET AJAX Library. Full name for this method is Type$getInterfaces(). 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