Ejemplo n.º 1
0
 public System.IAsyncResult BeginAddOptionSelection(OptionsWP7.StudentOptionsService.SelectionDetail selection, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = selection;
     System.IAsyncResult _result = base.BeginInvoke("AddOptionSelection", _args, callback, asyncState);
     return(_result);
 }
Ejemplo n.º 2
0
 public void AddOptionSelectionAsync(OptionsWP7.StudentOptionsService.SelectionDetail selection, object userState)
 {
     if ((this.onBeginAddOptionSelectionDelegate == null))
     {
         this.onBeginAddOptionSelectionDelegate = new BeginOperationDelegate(this.OnBeginAddOptionSelection);
     }
     if ((this.onEndAddOptionSelectionDelegate == null))
     {
         this.onEndAddOptionSelectionDelegate = new EndOperationDelegate(this.OnEndAddOptionSelection);
     }
     if ((this.onAddOptionSelectionCompletedDelegate == null))
     {
         this.onAddOptionSelectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddOptionSelectionCompleted);
     }
     base.InvokeAsync(this.onBeginAddOptionSelectionDelegate, new object[] {
         selection
     }, this.onEndAddOptionSelectionDelegate, this.onAddOptionSelectionCompletedDelegate, userState);
 }
Ejemplo n.º 3
0
 private System.IAsyncResult OnBeginAddOptionSelection(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     OptionsWP7.StudentOptionsService.SelectionDetail selection = ((OptionsWP7.StudentOptionsService.SelectionDetail)(inValues[0]));
     return(((OptionsWP7.StudentOptionsService.IStudentOptionsService)(this)).BeginAddOptionSelection(selection, callback, asyncState));
 }
Ejemplo n.º 4
0
 public void AddOptionSelectionAsync(OptionsWP7.StudentOptionsService.SelectionDetail selection)
 {
     this.AddOptionSelectionAsync(selection, null);
 }
Ejemplo n.º 5
0
 System.IAsyncResult OptionsWP7.StudentOptionsService.IStudentOptionsService.BeginAddOptionSelection(OptionsWP7.StudentOptionsService.SelectionDetail selection, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginAddOptionSelection(selection, callback, asyncState));
 }