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; }
/// <remarks/> public void GetCourseTemplateByCodeAsync(GetCourseTemplateByCodeRequest GetCourseTemplateByCodeRequest) { this.GetCourseTemplateByCodeAsync(GetCourseTemplateByCodeRequest, null); }
/// <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); }
/// <remarks/> public System.IAsyncResult BeginGetCourseTemplateByCode(GetCourseTemplateByCodeRequest GetCourseTemplateByCodeRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetCourseTemplateByCode", new object[] { GetCourseTemplateByCodeRequest}, callback, asyncState); }