/// <summary> /// Dispose the managed resource /// </summary> /// <param name="disposing">If disposing equals true, dispose all resources</param> protected virtual void Dispose(bool disposing) { if (disposing) { if (null != _workerThread) { _workerThread.Dispose(); _workerThread = null; } if (null != _blastClient) { _blastClient.Dispose(); _blastClient = null; } } }
/// <summary> /// Dispose the managed resource /// </summary> /// <param name="disposing">If disposing equals true, dispose all resources</param> protected virtual void Dispose(bool disposing) { if (disposing) { if (null != workerThread) { workerThread.Dispose(); workerThread = null; } if (null != blastClient) { blastClient.Dispose(); blastClient = null; } } }
/// <summary> /// Initialize BioHPC Blast client /// </summary> private void InitializeBlastClient() { _blastClient = new BioHPCClient(); }