Type.registerNamespace('Microsoft.Hardware.Services');
Microsoft.Hardware.Services.Documentation=function() {
Microsoft.Hardware.Services.Documentation.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Microsoft.Hardware.Services.Documentation.prototype={
GetDocumentationForRetail:function(category,succeededCallback, failedCallback, userContext) {
return this._invoke(Microsoft.Hardware.Services.Documentation.get_path(), 'GetDocumentationForRetail',true,{category:category},succeededCallback,failedCallback,userContext); },
GetDocumentationForOEM:function(category,succeededCallback, failedCallback, userContext) {
return this._invoke(Microsoft.Hardware.Services.Documentation.get_path(), 'GetDocumentationForOEM',true,{category:category},succeededCallback,failedCallback,userContext); },
GetDocumentation:function(branch,category,succeededCallback, failedCallback, userContext) {
return this._invoke(Microsoft.Hardware.Services.Documentation.get_path(), 'GetDocumentation',false,{branch:branch,category:category},succeededCallback,failedCallback,userContext); }}
Microsoft.Hardware.Services.Documentation.registerClass('Microsoft.Hardware.Services.Documentation',Sys.Net.WebServiceProxy);
Microsoft.Hardware.Services.Documentation._staticInstance = new Microsoft.Hardware.Services.Documentation();
Microsoft.Hardware.Services.Documentation.set_path = function(value) { Microsoft.Hardware.Services.Documentation._staticInstance._path = value; }
Microsoft.Hardware.Services.Documentation.get_path = function() { return Microsoft.Hardware.Services.Documentation._staticInstance._path; }
Microsoft.Hardware.Services.Documentation.set_timeout = function(value) { Microsoft.Hardware.Services.Documentation._staticInstance._timeout = value; }
Microsoft.Hardware.Services.Documentation.get_timeout = function() { return Microsoft.Hardware.Services.Documentation._staticInstance._timeout; }
Microsoft.Hardware.Services.Documentation.set_defaultUserContext = function(value) { Microsoft.Hardware.Services.Documentation._staticInstance._userContext = value; }
Microsoft.Hardware.Services.Documentation.get_defaultUserContext = function() { return Microsoft.Hardware.Services.Documentation._staticInstance._userContext; }
Microsoft.Hardware.Services.Documentation.set_defaultSucceededCallback = function(value) { Microsoft.Hardware.Services.Documentation._staticInstance._succeeded = value; }
Microsoft.Hardware.Services.Documentation.get_defaultSucceededCallback = function() { return Microsoft.Hardware.Services.Documentation._staticInstance._succeeded; }
Microsoft.Hardware.Services.Documentation.set_defaultFailedCallback = function(value) { Microsoft.Hardware.Services.Documentation._staticInstance._failed = value; }
Microsoft.Hardware.Services.Documentation.get_defaultFailedCallback = function() { return Microsoft.Hardware.Services.Documentation._staticInstance._failed; }
Microsoft.Hardware.Services.Documentation.set_path("/hardware/WebService/Documentation.asmx");
Microsoft.Hardware.Services.Documentation.GetDocumentationForRetail= function(category,onSuccess,onFailed,userContext) {Microsoft.Hardware.Services.Documentation._staticInstance.GetDocumentationForRetail(category,onSuccess,onFailed,userContext); }
Microsoft.Hardware.Services.Documentation.GetDocumentationForOEM= function(category,onSuccess,onFailed,userContext) {Microsoft.Hardware.Services.Documentation._staticInstance.GetDocumentationForOEM(category,onSuccess,onFailed,userContext); }
Microsoft.Hardware.Services.Documentation.GetDocumentation= function(branch,category,onSuccess,onFailed,userContext) {Microsoft.Hardware.Services.Documentation._staticInstance.GetDocumentation(branch,category,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Microsoft.Hardware.Services.Document) === 'undefined') {
Microsoft.Hardware.Services.Document=gtc("Microsoft.Hardware.Services.Document");
Microsoft.Hardware.Services.Document.registerClass('Microsoft.Hardware.Services.Document');
}
