예제 #1
0
 public CourseTemplateInfo GetCourseTemplateByCode( string code )
 {
     GetCourseTemplateByCodeRequest request = new GetCourseTemplateByCodeRequest() { Code = code };
     GetCourseTemplateResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, GetCourseTemplateByCodeRequest, GetCourseTemplateResponse>(
         m_service1_0, request, ( s, q ) => s.GetCourseTemplateByCode( q ) );
     return response.CourseTemplate;
 }
예제 #2
0
 /// <remarks/>
 public void GetCourseTemplateByCodeAsync(GetCourseTemplateByCodeRequest GetCourseTemplateByCodeRequest)
 {
     this.GetCourseTemplateByCodeAsync(GetCourseTemplateByCodeRequest, null);
 }
예제 #3
0
 /// <remarks/>
 public void GetCourseTemplateByCodeAsync(GetCourseTemplateByCodeRequest GetCourseTemplateByCodeRequest, object userState)
 {
     if ((this.GetCourseTemplateByCodeOperationCompleted == null)) {
         this.GetCourseTemplateByCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCourseTemplateByCodeOperationCompleted);
     }
     this.InvokeAsync("GetCourseTemplateByCode", new object[] {
                 GetCourseTemplateByCodeRequest}, this.GetCourseTemplateByCodeOperationCompleted, userState);
 }
예제 #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetCourseTemplateByCode(GetCourseTemplateByCodeRequest GetCourseTemplateByCodeRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetCourseTemplateByCode", new object[] {
                 GetCourseTemplateByCodeRequest}, callback, asyncState);
 }