Ejemplo n.º 1
0
 /// <summary>The SDK calls this method to add a background task to the applications work queue. </summary>
 /// <param name="task">for the application to execute</param>
 public virtual void addBackgroundTask(NxTask task)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     NxUserScheduler_addBackgroundTask_INVOKE(ClassPointer, doSetFunctionPointers, (task != null ? task.ClassPointer : NullRef));
 }
Ejemplo n.º 2
0
 private void addBackgroundTask_virtual(IntPtr task)
 {
     addBackgroundTask(NxTask.GetClass(task));
 }