void ReleaseDesignerOutlets() { if (bottomConstraint != null) { bottomConstraint.Dispose(); bottomConstraint = null; } if (CyclerNameLabel != null) { CyclerNameLabel.Dispose(); CyclerNameLabel = null; } if (CyclerScoreLabel != null) { CyclerScoreLabel.Dispose(); CyclerScoreLabel = null; } if (CountryFlagImageView != null) { CountryFlagImageView.Dispose(); CountryFlagImageView = null; } if (leadingConstraint != null) { leadingConstraint.Dispose(); leadingConstraint = null; } if (topConstraint != null) { topConstraint.Dispose(); topConstraint = null; } if (trailingConstraint != null) { trailingConstraint.Dispose(); trailingConstraint = null; } }
void ReleaseDesignerOutlets() { if (CountryFlagImageView != null) { CountryFlagImageView.Dispose(); CountryFlagImageView = null; } if (CyclerNameLabel != null) { CyclerNameLabel.Dispose(); CyclerNameLabel = null; } if (CyclerScoreLabel != null) { CyclerScoreLabel.Dispose(); CyclerScoreLabel = null; } }