public async Task UndoAsync() { await _referenceHandler.AddReferenceAsync(_selectedConfiguredProject, _itemSpecification); await _referenceHandler.SetAttributes(_selectedConfiguredProject, _itemSpecification, _projectPropertiesValues); }
public async Task <bool> RevertAsync(CancellationToken cancellationToken) { await _referenceHandler.AddReferenceAsync(_selectedConfiguredProject, _itemSpecification); if (_projectPropertiesValues != null) { await _referenceHandler.SetAttributesAsync(_selectedConfiguredProject, _itemSpecification, _projectPropertiesValues); } return(true); }