ImsInformed.Workflows.CrossSectionExtraction.CrossSectionWorkfow.Dispose C# (CSharp) Method

Dispose() public method

The dispose.
public Dispose ( ) : void
return void
        public void Dispose()
        {
            this.Dispose(true);
            GC.SuppressFinalize(this);
        }

Same methods

CrossSectionWorkfow::Dispose ( bool disposing ) : void

Usage Example

        public void TestTargetDetectionWithIsomersHard()
        {
            // BHC
            string formula3 = "C13H18ClNO";
            MolecularTarget sample3 = new MolecularTarget(formula3, IonizationMethod.Protonated, "BHC");
            string fileLocation3 = BHC;

            CrossSectionSearchParameters parameters3 = new CrossSectionSearchParameters(testDriftTubeLength);

            CrossSectionWorkfow workfow3 = new CrossSectionWorkfow(fileLocation3, "output", parameters3);
            CrossSectionWorkflowResult results3 = workfow3.RunCrossSectionWorkFlow(sample3, true);
            Assert.AreEqual(2, results3.IdentifiedIsomers.Count());
            workfow3.Dispose();
        }
All Usage Examples Of ImsInformed.Workflows.CrossSectionExtraction.CrossSectionWorkfow::Dispose