Пример #1
0
        private void InternalSubscriptionUserControl_Unloaded(object sender, System.Windows.RoutedEventArgs e)
        {
            SubscriberRequestViewModel model = ViewModel;

            if ((object)model != null)
            {
                model.Dispose();
            }
        }
        private void InternalSubscriptionUserControl_Unloaded(object sender, RoutedEventArgs e)
        {
            SubscriberRequestViewModel model = ViewModel;

            model?.Dispose();
        }