public ShellViewModel() { AppDomain appDomain = AppDomain.CurrentDomain; appDomain.UnhandledException += new UnhandledExceptionEventHandler(ShutDown); EventAggregationProvider.EventAggregator.Subscribe(this); ActivateItem(new FileTabViewModel()); CamWindowViewModel = new CamWindowViewModel(); httpRequestClient = HttpRequestClient.Instance(); }
public CamWindowViewModel() { EventAggregationProvider.EventAggregator.Subscribe(this); httpRequestClient = HttpRequestClient.Instance(); }