public CurrentUsersDataPointViewModel(CurrentUsersDataPointUpdater dataPointUpdater, ICodeLensDataPoint dataPoint) : base(dataPoint)
 {
     DataPointUpdater = dataPointUpdater;
     dataPointUpdater.AddDataPointModel(this);
     HasDetails       = false;
     PropertyChanged += CurrentUsersDataPointViewModel_PropertyChanged;
 }
Example #2
0
        protected override CurrentUsersDataPointViewModel GetViewModel(ICodeLensDataPoint dataPoint)
        {
            var dataPointModel = new CurrentUsersDataPointViewModel(DataPointUpdater, dataPoint);

            return(dataPointModel);
        }
        protected override ConflictDataPointViewModel GetViewModel(ICodeLensDataPoint dataPoint)
        {
            var ConflictDataPoint = dataPoint as ConflictDataPoint;

            return(new ConflictDataPointViewModel(ConflictDataPoint));
        }