{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 'getType(instance)'
Method: getType(instance)
Method Full Name:     Object$getType(instance)
Class: Object
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Object.getType = function Object$getType(instance) {
2     /// <summary locid="M:J#Object.getType" />
3     /// <param name="instance"></param>
4     /// <returns type="Type"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "instance"}
7     ]);
8     if (e) throw e;
9     var ctor = instance.constructor;
10    if (!ctor || (typeof(ctor) !== "function") || !ctor.__typeName || (ctor.__typeName === 'Object')) {
11      return Object;
12    }
13    return ctor;
14  }
This is the JavaScript source for method getType(instance) from ASP.NET AJAX Library. Full name for this method is Object$getType(instance). It belongs to the class Object, 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