Type.registerNamespace('MonSite.Daniel');
MonSite.Daniel.wsStringFormat=function() {
MonSite.Daniel.wsStringFormat.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MonSite.Daniel.wsStringFormat.prototype={
ObtenirLesCultures:function(succeededCallback, failedCallback, userContext) {
return this._invoke(MonSite.Daniel.wsStringFormat.get_path(), 'ObtenirLesCultures',false,{},succeededCallback,failedCallback,userContext); },
StringFormat:function(langue,format,s,i,f,d,succeededCallback, failedCallback, userContext) {
return this._invoke(MonSite.Daniel.wsStringFormat.get_path(), 'StringFormat',false,{langue:langue,format:format,s:s,i:i,f:f,d:d},succeededCallback,failedCallback,userContext); }}
MonSite.Daniel.wsStringFormat.registerClass('MonSite.Daniel.wsStringFormat',Sys.Net.WebServiceProxy);
MonSite.Daniel.wsStringFormat._staticInstance = new MonSite.Daniel.wsStringFormat();
MonSite.Daniel.wsStringFormat.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; MonSite.Daniel.wsStringFormat._staticInstance._path = value; }
MonSite.Daniel.wsStringFormat.get_path = function() { return MonSite.Daniel.wsStringFormat._staticInstance._path; }
MonSite.Daniel.wsStringFormat.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); }
MonSite.Daniel.wsStringFormat._staticInstance._timeout = value; }
MonSite.Daniel.wsStringFormat.get_timeout = function() { 
return MonSite.Daniel.wsStringFormat._staticInstance._timeout; }
MonSite.Daniel.wsStringFormat.set_defaultUserContext = function(value) { 
MonSite.Daniel.wsStringFormat._staticInstance._userContext = value; }
MonSite.Daniel.wsStringFormat.get_defaultUserContext = function() { 
return MonSite.Daniel.wsStringFormat._staticInstance._userContext; }
MonSite.Daniel.wsStringFormat.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; MonSite.Daniel.wsStringFormat._staticInstance._succeeded = value; }
MonSite.Daniel.wsStringFormat.get_defaultSucceededCallback = function() { 
return MonSite.Daniel.wsStringFormat._staticInstance._succeeded; }
MonSite.Daniel.wsStringFormat.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; MonSite.Daniel.wsStringFormat._staticInstance._failed = value; }
MonSite.Daniel.wsStringFormat.get_defaultFailedCallback = function() { 
return MonSite.Daniel.wsStringFormat._staticInstance._failed; }
MonSite.Daniel.wsStringFormat.set_path("/daniel/webservices/wsStringFormat.asmx");
MonSite.Daniel.wsStringFormat.ObtenirLesCultures= function(onSuccess,onFailed,userContext) {MonSite.Daniel.wsStringFormat._staticInstance.ObtenirLesCultures(onSuccess,onFailed,userContext); }
MonSite.Daniel.wsStringFormat.StringFormat= function(langue,format,s,i,f,d,onSuccess,onFailed,userContext) {MonSite.Daniel.wsStringFormat._staticInstance.StringFormat(langue,format,s,i,f,d,onSuccess,onFailed,userContext); }

