MonoMobile.Views.ProgressHud.Dispose C# (CSharp) Method

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void
		protected override void Dispose(bool disposing)
		{
			if (_CheckmarkImage != null)
			{
				_CheckmarkImage.Dispose();
			}

			if (_Indicator != null)
			{
				_Indicator.RemoveFromSuperview();
				_Indicator = null;
			}

			RemoveFromSuperview();
			
			if (_Label != null)
			{
				_Label.Dispose();
				_Label = null;
			}

			if (_DetailsLabel != null)
			{
				_DetailsLabel.Dispose();
				_DetailsLabel = null;
			}

			if (_GraceTimer != null)
			{
				_GraceTimer.Dispose();
				_GraceTimer = null;
			}

			if (_MinShowTimer != null)
			{
				_MinShowTimer.Dispose();
				_MinShowTimer = null;
			}
			
			base.Dispose(disposing);
		}
		#endregion