void ReleaseDesignerOutlets() { if (AttachedImageView != null) { AttachedImageView.Dispose(); AttachedImageView = null; } if (AttachImageButton != null) { AttachImageButton.Dispose(); AttachImageButton = null; } if (EditImageContainer != null) { EditImageContainer.Dispose(); EditImageContainer = null; } if (EditImageContainerHeightConstraint != null) { EditImageContainerHeightConstraint.Dispose(); EditImageContainerHeightConstraint = null; } if (EditingCloseButton != null) { EditingCloseButton.Dispose(); EditingCloseButton = null; } if (EditingIndicatorView != null) { EditingIndicatorView.Dispose(); EditingIndicatorView = null; } if (EditingText != null) { EditingText.Dispose(); EditingText = null; } if (EditViewContainer != null) { EditViewContainer.Dispose(); EditViewContainer = null; } if (EditViewContainerHeightConstraint != null) { EditViewContainerHeightConstraint.Dispose(); EditViewContainerHeightConstraint = null; } if (InputTextView != null) { InputTextView.Dispose(); InputTextView = null; } if (InputTextViewMaxHeightConstraint != null) { InputTextViewMaxHeightConstraint.Dispose(); InputTextViewMaxHeightConstraint = null; } if (InputTextViewPlaceholder != null) { InputTextViewPlaceholder.Dispose(); InputTextViewPlaceholder = null; } if (InputViewContainer != null) { InputViewContainer.Dispose(); InputViewContainer = null; } if (RemoveAttachButton != null) { RemoveAttachButton.Dispose(); RemoveAttachButton = null; } if (SendButton != null) { SendButton.Dispose(); SendButton = null; } if (TakePhotoButton != null) { TakePhotoButton.Dispose(); TakePhotoButton = null; } if (EditMessageHeaderLabel != null) { EditMessageHeaderLabel.Dispose(); EditMessageHeaderLabel = null; } }
void ReleaseDesignerOutlets() { if (AttachmentContainer != null) { AttachmentContainer.Dispose(); AttachmentContainer = null; } if (AttachmentImage != null) { AttachmentImage.Dispose(); AttachmentImage = null; } if (BottomConstraint != null) { BottomConstraint.Dispose(); BottomConstraint = null; } if (DeleteButton != null) { DeleteButton.Dispose(); DeleteButton = null; } if (EditContainer != null) { EditContainer.Dispose(); EditContainer = null; } if (EditingBodyLabel != null) { EditingBodyLabel.Dispose(); EditingBodyLabel = null; } if (EditingCloseButton != null) { EditingCloseButton.Dispose(); EditingCloseButton = null; } if (EditingTitleLabel != null) { EditingTitleLabel.Dispose(); EditingTitleLabel = null; } if (ImageLoader != null) { ImageLoader.Dispose(); ImageLoader = null; } if (OpenCameraButton != null) { OpenCameraButton.Dispose(); OpenCameraButton = null; } if (OpenGalleryButton != null) { OpenGalleryButton.Dispose(); OpenGalleryButton = null; } if (PlaceholderLabel != null) { PlaceholderLabel.Dispose(); PlaceholderLabel = null; } if (SendButton != null) { SendButton.Dispose(); SendButton = null; } if (TextMaxHeightConstraint != null) { TextMaxHeightConstraint.Dispose(); TextMaxHeightConstraint = null; } if (TextView != null) { TextView.Dispose(); TextView = null; } }