public CurrentUsersDataPoint(CurrentUsersDataPointUpdater dataPointUpdater, IWorkspaceUpdateManager workspaceUpdateManager, ICodeElementDescriptor codeElementDescriptor)
 {
     DataPointUpdater       = dataPointUpdater;
     CodeElementDescriptor  = codeElementDescriptor;
     WorkspaceUpdateManager = workspaceUpdateManager;
     WorkspaceChangedTask   = WorkspaceUpdateManager?.AddWorkspaceChangedAsync(OnWorkspaceChanged);
 }
Exemplo n.º 2
0
 public CurrentUsersDataPointViewModel(CurrentUsersDataPointUpdater dataPointUpdater, ICodeLensDataPoint dataPoint) : base(dataPoint)
 {
     DataPointUpdater = dataPointUpdater;
     dataPointUpdater.AddDataPointModel(this);
     HasDetails       = false;
     PropertyChanged += CurrentUsersDataPointViewModel_PropertyChanged;
 }