public CourseOfferingInfo GetCourseOfferingByCode( string code ) { GetCourseOfferingByCodeRequest request = new GetCourseOfferingByCodeRequest() { Code = code }; GetCourseOfferingResponse response = CallWebService< IOrgUnitManagementServicev1_0, GetCourseOfferingByCodeRequest, GetCourseOfferingResponse>( m_service1_0, request, ( s, q ) => s.GetCourseOfferingByCode( q ) ); return response.CourseOffering; }
/// <remarks/> public void GetCourseOfferingByCodeAsync(GetCourseOfferingByCodeRequest GetCourseOfferingByCodeRequest) { this.GetCourseOfferingByCodeAsync(GetCourseOfferingByCodeRequest, null); }
/// <remarks/> public void GetCourseOfferingByCodeAsync(GetCourseOfferingByCodeRequest GetCourseOfferingByCodeRequest, object userState) { if ((this.GetCourseOfferingByCodeOperationCompleted == null)) { this.GetCourseOfferingByCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCourseOfferingByCodeOperationCompleted); } this.InvokeAsync("GetCourseOfferingByCode", new object[] { GetCourseOfferingByCodeRequest}, this.GetCourseOfferingByCodeOperationCompleted, userState); }
/// <remarks/> public System.IAsyncResult BeginGetCourseOfferingByCode(GetCourseOfferingByCodeRequest GetCourseOfferingByCodeRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetCourseOfferingByCode", new object[] { GetCourseOfferingByCodeRequest}, callback, asyncState); }