public TextGradeItemInfo CreateTextGradeItem( Identifier orgUnitId, string name )
 {
     CreateTextGradeItemRequest request = new CreateTextGradeItemRequest() {
         OrgUnitId = orgUnitId,
         Name = name
     };
     CreateTextGradeItemResponse response = CallWebService<
         IGradesManagementServicev1_0, CreateTextGradeItemRequest, CreateTextGradeItemResponse>(
         m_service1_0, request, ( s, q ) => s.CreateTextGradeItem( q ) );
     return response.TextGradeItem;
 }
Example #2
0
 /// <remarks/>
 public void CreateTextGradeItemAsync(CreateTextGradeItemRequest CreateTextGradeItemRequest)
 {
     this.CreateTextGradeItemAsync(CreateTextGradeItemRequest, null);
 }
Example #3
0
 /// <remarks/>
 public void CreateTextGradeItemAsync(CreateTextGradeItemRequest CreateTextGradeItemRequest, object userState)
 {
     if ((this.CreateTextGradeItemOperationCompleted == null)) {
         this.CreateTextGradeItemOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateTextGradeItemOperationCompleted);
     }
     this.InvokeAsync("CreateTextGradeItem", new object[] {
                 CreateTextGradeItemRequest}, this.CreateTextGradeItemOperationCompleted, userState);
 }
Example #4
0
 /// <remarks/>
 public System.IAsyncResult BeginCreateTextGradeItem(CreateTextGradeItemRequest CreateTextGradeItemRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateTextGradeItem", new object[] {
                 CreateTextGradeItemRequest}, callback, asyncState);
 }