コード例 #1
0
 internal override bool TryApply(
     Workspace workspace, IProgressTracker progressTracker, CancellationToken cancellationToken)
 {
     return(_installerService.TryInstallPackage(
                workspace, _document.Id, _source, _packageName,
                _versionOpt, _includePrerelease, cancellationToken));
 }
 public override void Apply(Workspace workspace, CancellationToken cancellationToken)
 {
     _installerService.TryInstallPackage(
         workspace, _document.Id, _source, _packageName, _versionOpt, cancellationToken);
 }