BeerDrinkin.iOS.CheckInViewController.ReleaseDesignerOutlets C# (CSharp) Method

ReleaseDesignerOutlets() private method

private ReleaseDesignerOutlets ( ) : void
return void
        void ReleaseDesignerOutlets ()
        {
            if (btnCheckIn != null) {
                btnCheckIn.Dispose ();
                btnCheckIn = null;
            }

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

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

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

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

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

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