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; }
/// <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; }