コード例 #1
0
        /// <inheritdoc />
        /// <summary>
        /// </summary>
        public override void Destroy()
        {
            if (DisposeBindableOnDestroy)
            {
                BindedValue.Dispose();
            }

            base.Destroy();
        }
コード例 #2
0
        /// <inheritdoc />
        /// <summary>
        /// </summary>
        public override void Destroy()
        {
            // ReSharper disable once DelegateSubtraction
            BindedValue.ValueChanged -= OnBindedValueChanged;

            if (DisposeBindableOnDestroy)
            {
                BindedValue.Dispose();
            }

            base.Destroy();
        }