Exemple #1
0
        public MainWindowAdapter(Window wpfWindow, IMainWindowViewModelFactory viewModelFactory)
            : base(wpfWindow)
        {
            if (viewModelFactory == null)
            {
                throw new ArgumentNullException("viewModelFactory");
            }

            this.vmFactory = viewModelFactory;
        }
        public MainWindowAdapter(Window wpfWindow, IMainWindowViewModelFactory viewModelFactory)
            : base(wpfWindow)
        {
            if (viewModelFactory == null)
            {
                throw new ArgumentNullException("viewModelFactory");
            }

            this.vmFactory = viewModelFactory;
        }