Beispiel #1
0
 private void NuGetOnPackageInstalled(PackageData package)
 {
     this.GetDispatcher().InvokeAsync(() =>
     {
         var text = $"#r \"nuget:{package.Id}/{package.Version}\"{Environment.NewLine}";
         _editor.Document.Insert(0, text, AnchorMovementType.Default);
     });
 }
Beispiel #2
0
 private Task InstallPackage(PackageData package)
 {
     return(InstallPackage(package.Id, package.Version));
 }