SIL.FieldWorks.IText.StatisticsView.CheckDisposed C# (CSharp) Method

CheckDisposed() public method

This method throws an ObjectDisposedException if IsDisposed returns true. This is the case where a method or property in an object is being used but the object itself is no longer valid. This method should be added to all public properties and methods of this object and all other objects derived from it (extensive).
public CheckDisposed ( ) : void
return void
		public void CheckDisposed()
		{
			if (IsDisposed)
				throw new ObjectDisposedException("StatisticsView has been disposed.");
		}