Пример #1
0
        public GetAuthorizationsResponse GetAuthorizations(GetAuthorizationsRequest GetAuthorizationsRequest)
        {
            object[] results = this.Invoke("GetAuthorizations", new object[] {
                GetAuthorizationsRequest
            });

            return((GetAuthorizationsResponse)(results[0]));
        }
Пример #2
0
 public bool Authorization_GetAuthorizations()
 {
     AuthorizationService.GetAuthorizationsRequest request = new AuthorizationService.GetAuthorizationsRequest() { Token = LoginAsAdmin(), MundaneId = 1 };
     AuthorizationService.GetAuthorizationsResponse response = authsvc.GetAuthorizations(request);
     if (response.Authorizations.Length > 0)
     {
         return true;
     }
     return false;
 }
Пример #3
0
 /// <remarks/>
 public void GetAuthorizationsAsync(GetAuthorizationsRequest GetAuthorizationsRequest, object userState)
 {
     if ((this.GetAuthorizationsOperationCompleted == null))
     {
         this.GetAuthorizationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAuthorizationsOperationCompleted);
     }
     this.InvokeAsync("GetAuthorizations", new object[] {
         GetAuthorizationsRequest
     }, this.GetAuthorizationsOperationCompleted, userState);
 }
Пример #4
0
 public bool Authorization_GetAuthorizations()
 {
     AuthorizationService.GetAuthorizationsRequest request = new AuthorizationService.GetAuthorizationsRequest()
     {
         Token = LoginAsAdmin(), MundaneId = 1
     };
     AuthorizationService.GetAuthorizationsResponse response = authsvc.GetAuthorizations(request);
     if (response.Authorizations.Length > 0)
     {
         return(true);
     }
     return(false);
 }
Пример #5
0
 /// <remarks/>
 public void GetAuthorizationsAsync(GetAuthorizationsRequest GetAuthorizationsRequest)
 {
     this.GetAuthorizationsAsync(GetAuthorizationsRequest, null);
 }
Пример #6
0
 /// <remarks/>
 public void GetAuthorizationsAsync(GetAuthorizationsRequest GetAuthorizationsRequest, object userState) {
     if ((this.GetAuthorizationsOperationCompleted == null)) {
         this.GetAuthorizationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAuthorizationsOperationCompleted);
     }
     this.InvokeAsync("GetAuthorizations", new object[] {
                 GetAuthorizationsRequest}, this.GetAuthorizationsOperationCompleted, userState);
 }
Пример #7
0
 /// <remarks/>
 public void GetAuthorizationsAsync(GetAuthorizationsRequest GetAuthorizationsRequest) {
     this.GetAuthorizationsAsync(GetAuthorizationsRequest, null);
 }
Пример #8
0
 public GetAuthorizationsResponse GetAuthorizations(GetAuthorizationsRequest GetAuthorizationsRequest) {
     object[] results = this.Invoke("GetAuthorizations", new object[] {
                 GetAuthorizationsRequest});
     return ((GetAuthorizationsResponse)(results[0]));
 }