コード例 #1
0
 public DepartmentInfo GetDepartment( Identifier orgUnitId )
 {
     GetDepartmentRequest request = new GetDepartmentRequest() { OrgUnitId = orgUnitId };
     GetDepartmentResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, GetDepartmentRequest, GetDepartmentResponse>(
         m_service1_0, request, ( s, q ) => s.GetDepartment( q ) );
     return response.Department;
 }
コード例 #2
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public void GetDepartmentAsync(GetDepartmentRequest GetDepartmentRequest)
 {
     this.GetDepartmentAsync(GetDepartmentRequest, null);
 }
コード例 #3
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public void GetDepartmentAsync(GetDepartmentRequest GetDepartmentRequest, object userState)
 {
     if ((this.GetDepartmentOperationCompleted == null)) {
         this.GetDepartmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDepartmentOperationCompleted);
     }
     this.InvokeAsync("GetDepartment", new object[] {
                 GetDepartmentRequest}, this.GetDepartmentOperationCompleted, userState);
 }
コード例 #4
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public System.IAsyncResult BeginGetDepartment(GetDepartmentRequest GetDepartmentRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetDepartment", new object[] {
                 GetDepartmentRequest}, callback, asyncState);
 }