Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (OwnerImageView != null)
            {
                OwnerImageView.Dispose();
                OwnerImageView = null;
            }

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

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

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

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

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

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

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

            if (UserLabel != null)
            {
                UserLabel.Dispose();
                UserLabel = null;
            }
        }
Exemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (FollowButton != null)
            {
                FollowButton.Dispose();
                FollowButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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