// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
Google / Android
Python / IronPython
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 'createDelegate(instance, method)'
Method: createDelegate(instance, method)
Method Full Name:     Function$createDelegate(instance, method)
Class: Function
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Function.createDelegate = function Function$createDelegate(instance, method) {
2     /// <summary locid="M:J#Function.createDelegate" />
3     /// <param name="instance" mayBeNull="true"></param>
4     /// <param name="method" type="Function"></param>
5     /// <returns type="Function"></returns>
6     var e = Function._validateParams(arguments, [
7     {name: "instance", mayBeNull: true},
8     {name: "method", type: Function}
9     ]);
10    if (e) throw e;
11    return function() {
12      return method.apply(instance, arguments);
13    }
14  }
This is the JavaScript source for method createDelegate(instance, method) from ASP.NET AJAX Library. Full name for this method is Function$createDelegate(instance, method). It belongs to the class Function, 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