/// <summary>
        /// Refreshes the internal.
        /// </summary>
        /// <param name="model">The model.</param>
        private void RefreshInternal(ServiceCallSettingsEdit model)
        {
            if (_callType != model.CallType)
                CallSettingsViewModel = null;

            Model = model;
            _callType = Model.CallType;
            RaisePropertyChanged(() => CallType);
            RaisePropertyChanged(() => ParentService);

            if (CallSettingsViewModel == null)
                CallSettingsViewModel = CallSettingsViewModelFactory.CreateViewModel(model.CallSettings.First(), this);
            else
                CallSettingsViewModel.Refresh(model.CallSettings.First());
        }
        /// <summary>
        /// Initializes the specified model.
        /// </summary>
        /// <param name="model">The model.</param>
        /// <param name="parentViewModel">The parent view model.</param>
        /// <exception cref="System.ArgumentNullException">
        /// model
        /// or
        /// parentViewModel
        /// </exception>
        public void Initialize(ServiceCallSettingsEdit model, IIntegrationServiceViewModel parentViewModel)
        {
            if (model == null)
                throw new ArgumentNullException("model");

            if (parentViewModel == null)
                throw new ArgumentNullException("parentViewModel");

            ParentViewModel = parentViewModel;
            RefreshInternal(model);
        }