{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 '_validateParams(params, expectedParams)'
Method: _validateParams(params, expectedParams)
Method Full Name:     Function$_validateParams(params, expectedParams)
Class: Function
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Function._validateParams = function Function$_validateParams(params, expectedParams) {
2     var e;
3     e = Function._validateParameterCount(params, expectedParams);
4     if (e) {
5       e.popStackFrame();
6       return e;
7     }
8     for (var i=0; i < params.length; i++) {
9       var expectedParam = expectedParams[Math.min(i, expectedParams.length - 1)];
10      var paramName = expectedParam.name;
11      if (expectedParam.parameterArray) {
12        paramName += "[" + (i - expectedParams.length + 1) + "]";
13      }
14      e = Function._validateParameter(params[i], expectedParam, paramName);
15      if (e) {
16        e.popStackFrame();
17        return e;
18      }
19    }
20    return null;
21  }
This is the JavaScript source for method _validateParams(params, expectedParams) from ASP.NET AJAX Library. Full name for this method is Function$_validateParams(params, expectedParams). 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