Пример #1
0
        private void SetLog(ApplicationViewModel appModel)
        {
            if (appModel == null)
            {
                throw new ArgumentNullException("appModel");
            }

            if (appModel.LogViewModel != null)
            {
                LogViewModel = new LogViewModelWrapper(appModel.LogViewModel);
            }
        }
        private void SetLog(ApplicationViewModel appModel)
        {
            if (appModel == null)
                throw new ArgumentNullException("appModel");

            if(appModel.LogViewModel != null) 
                LogViewModel = new LogViewModelWrapper(appModel.LogViewModel);
        }