Post

Chromatogram.Dispose

A no-op beyond marking the instance disposed.


Remarks

A chromatogram holds no unmanaged resources, so disposing it is optional. It is IDisposable so it can be used the same way as the spectrum types.


Syntax

SyntaxDescription
Dispose()A no-op beyond marking the instance disposed. Present so a chromatogram can be used the same way as the spectrum types, which share this pattern.

Example

1
2
3
4
5
6
using Nova.Data;

using (Chromatogram chromat = new Chromatogram(100))
{
  Console.WriteLine(chromat.Count);
}
This post is licensed under CC BY 4.0 by the author.

Trending Tags