Type.registerNamespace('Demo.Sensitive');
Demo.Sensitive.SensitivePredictor=function() {
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Demo.Sensitive.SensitivePredictor.prototype={
Predict:function(url,succeededCallback, failedCallback, userContext) {
return Sys.Net._WebMethod._invoke.apply(null, [ this, 'Predict','Demo.Sensitive.SensitivePredictor.Predict',false,{url:url},succeededCallback, failedCallback, userContext]); },_get_path: function() { return Demo.Sensitive.SensitivePredictor.get_path(); },

set_timeout: function(value) {
    var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]);
    if (e) throw e;
    if (value < 0) {
        throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout);
    }
    this._timeout = value;
},
get_timeout: function() {
    return this._timeout;
},
set_defaultUserContext: function(value) {
    this._userContext = value;
},
get_defaultUserContext: function() {
    return this._userContext;
},
set_defaultSucceededCallback: function(value) {
    var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]);
    if (e) throw e;
    this._succeeded = value;
},
get_defaultSucceededCallback: function() {
    return this._succeeded;
},
set_defaultFailedCallback: function(value) {
    var e = Function._validateParams(arguments, [{name: 'set_defaultFailedCallback', type: Function}]);
    if (e) throw e;
    this._failed = value;
},
get_defaultFailedCallback: function() {
    return this._failed;
}
}
Demo.Sensitive.SensitivePredictor._staticInstance = new Demo.Sensitive.SensitivePredictor();
Demo.Sensitive.SensitivePredictor.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Demo.Sensitive.SensitivePredictor._staticInstance._path = value; }
Demo.Sensitive.SensitivePredictor.get_path = function() { return Demo.Sensitive.SensitivePredictor._staticInstance._path; }
Demo.Sensitive.SensitivePredictor.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Demo.Sensitive.SensitivePredictor._staticInstance._timeout = value; }
Demo.Sensitive.SensitivePredictor.get_timeout = function() { 
return Demo.Sensitive.SensitivePredictor._staticInstance._timeout; }
Demo.Sensitive.SensitivePredictor.set_defaultUserContext = function(value) { 
Demo.Sensitive.SensitivePredictor._staticInstance._userContext = value; }
Demo.Sensitive.SensitivePredictor.get_defaultUserContext = function() { 
return Demo.Sensitive.SensitivePredictor._staticInstance._userContext; }
Demo.Sensitive.SensitivePredictor.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Demo.Sensitive.SensitivePredictor._staticInstance._succeeded = value; }
Demo.Sensitive.SensitivePredictor.get_defaultSucceededCallback = function() { 
return Demo.Sensitive.SensitivePredictor._staticInstance._succeeded; }
Demo.Sensitive.SensitivePredictor.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Demo.Sensitive.SensitivePredictor._staticInstance._failed = value; }
Demo.Sensitive.SensitivePredictor.get_defaultFailedCallback = function() { 
return Demo.Sensitive.SensitivePredictor._staticInstance._failed; }
Demo.Sensitive.SensitivePredictor.set_path("/Detecting-Sensitive-Webpages/SensitivePredictor.asmx");
Demo.Sensitive.SensitivePredictor.Predict= function(url,onSuccess,onFailed,userContext) {Demo.Sensitive.SensitivePredictor._staticInstance.Predict(url,onSuccess,onFailed,userContext); }
