示例#1
0
 public System.Threading.Tasks.Task <SiteCoreWebSite.WebService.LoginResponse> LoginAsync(string username, string password, string loginDate, string key)
 {
     SiteCoreWebSite.WebService.LoginRequest inValue = new SiteCoreWebSite.WebService.LoginRequest();
     inValue.Body           = new SiteCoreWebSite.WebService.LoginRequestBody();
     inValue.Body.username  = username;
     inValue.Body.password  = password;
     inValue.Body.loginDate = loginDate;
     inValue.Body.key       = key;
     return(((SiteCoreWebSite.WebService.SiteCoreWebServiceSoap)(this)).LoginAsync(inValue));
 }
示例#2
0
 public bool Login(string username, string password, string loginDate, string key)
 {
     SiteCoreWebSite.WebService.LoginRequest inValue = new SiteCoreWebSite.WebService.LoginRequest();
     inValue.Body           = new SiteCoreWebSite.WebService.LoginRequestBody();
     inValue.Body.username  = username;
     inValue.Body.password  = password;
     inValue.Body.loginDate = loginDate;
     inValue.Body.key       = key;
     SiteCoreWebSite.WebService.LoginResponse retVal = ((SiteCoreWebSite.WebService.SiteCoreWebServiceSoap)(this)).Login(inValue);
     return(retVal.Body.LoginResult);
 }
示例#3
0
 System.Threading.Tasks.Task <SiteCoreWebSite.WebService.LoginResponse> SiteCoreWebSite.WebService.SiteCoreWebServiceSoap.LoginAsync(SiteCoreWebSite.WebService.LoginRequest request)
 {
     return(base.Channel.LoginAsync(request));
 }
示例#4
0
 SiteCoreWebSite.WebService.LoginResponse SiteCoreWebSite.WebService.SiteCoreWebServiceSoap.Login(SiteCoreWebSite.WebService.LoginRequest request)
 {
     return(base.Channel.Login(request));
 }