Exemplo n.º 1
0
 public WinQualSyncTask(WinQualSyncTaskParameters taskParameters) :
     base(taskParameters as TaskParameters, StackHashTaskType.WinQualSynchronizeTask)
 {
     if (taskParameters == null)
     {
         throw new ArgumentNullException("taskParameters");
     }
     m_TaskParameters  = taskParameters;
     m_WinQualServices = m_TaskParameters.ThisWinQualContext.WinQualServices;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new WinQual context. The context depends on services provided to it.
 /// This is an interface so that it can be easily replaced with a dummy for testing.
 /// </summary>
 /// <param name="winQualServices">Interface to the real worker object.</param>
 public WinQualContext(IWinQualServices winQualServices)
 {
     m_WinQualServices = winQualServices;
 }