コード例 #1
0
 public SectionInfo CreateSection(
     string name, string code, RichTextInfo description, Identifier courseOfferingId)
 {
     CreateSectionRequest request = new CreateSectionRequest() {
         Name = name,
         Code = code,
         Description = description,
         CourseOfferingId = courseOfferingId
     };
     CreateSectionResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, CreateSectionRequest, CreateSectionResponse>(
         m_service1_0, request, ( s, q ) => s.CreateSection( q ) );
     return response.Section;
 }
コード例 #2
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public void CreateSectionAsync(CreateSectionRequest CreateSectionRequest)
 {
     this.CreateSectionAsync(CreateSectionRequest, null);
 }
コード例 #3
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public void CreateSectionAsync(CreateSectionRequest CreateSectionRequest, object userState)
 {
     if ((this.CreateSectionOperationCompleted == null)) {
         this.CreateSectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateSectionOperationCompleted);
     }
     this.InvokeAsync("CreateSection", new object[] {
                 CreateSectionRequest}, this.CreateSectionOperationCompleted, userState);
 }
コード例 #4
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public System.IAsyncResult BeginCreateSection(CreateSectionRequest CreateSectionRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateSection", new object[] {
                 CreateSectionRequest}, callback, asyncState);
 }