コード例 #1
0
 public DepartmentInfo GetDepartmentByCode( string code )
 {
     GetDepartmentByCodeRequest request = new GetDepartmentByCodeRequest() { Code = code };
     GetDepartmentResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, GetDepartmentByCodeRequest, GetDepartmentResponse>(
         m_service1_0, request, ( s, q ) => s.GetDepartmentByCode( q ) );
     return response.Department;
 }
コード例 #2
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public void GetDepartmentByCodeAsync(GetDepartmentByCodeRequest GetDepartmentByCodeRequest)
 {
     this.GetDepartmentByCodeAsync(GetDepartmentByCodeRequest, null);
 }
コード例 #3
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public void GetDepartmentByCodeAsync(GetDepartmentByCodeRequest GetDepartmentByCodeRequest, object userState)
 {
     if ((this.GetDepartmentByCodeOperationCompleted == null)) {
         this.GetDepartmentByCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDepartmentByCodeOperationCompleted);
     }
     this.InvokeAsync("GetDepartmentByCode", new object[] {
                 GetDepartmentByCodeRequest}, this.GetDepartmentByCodeOperationCompleted, userState);
 }
コード例 #4
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public System.IAsyncResult BeginGetDepartmentByCode(GetDepartmentByCodeRequest GetDepartmentByCodeRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetDepartmentByCode", new object[] {
                 GetDepartmentByCodeRequest}, callback, asyncState);
 }