예제 #1
0
 public void RunStarted(object automationObject, Dictionary <string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams)
 {
     WriteOutBetaNugetSource("dotnet.myget.org roslyn", "https://dotnet.myget.org/F/roslyn/api/v3/index.json");
     WriteOutBetaNugetSource("dotnet.myget.org roslyn-analyzers", "https://dotnet.myget.org/F/roslyn-analyzers/api/v3/index.json");
     NugetWizard.RunStarted(automationObject, replacementsDictionary, runKind, customParams);
     OnRunStarted(automationObject as DTE, replacementsDictionary, runKind, customParams);
 }
예제 #2
0
    public void RunStarted(object automationObject, Dictionary <string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams)
    {
        WriteOutBetaNugetSource("dotnet.myget.org roslyn", "https://dotnet.myget.org/F/roslyn/api/v3/index.json");
        WriteOutBetaNugetSource("dotnet.myget.org roslyn-analyzers", "https://dotnet.myget.org/F/roslyn-analyzers/api/v3/index.json");
        NugetWizard.RunStarted(automationObject, replacementsDictionary, runKind, customParams);
#pragma warning disable VSTHRD010 // Invoke single-threaded types on Main thread
        OnRunStarted(automationObject as DTE, replacementsDictionary, runKind, customParams);
#pragma warning restore VSTHRD010 // Invoke single-threaded types on Main thread
    }
 public void RunStarted(object automationObject, Dictionary <string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams)
 {
     NugetWizard.RunStarted(automationObject, replacementsDictionary, runKind, customParams);
     OnRunStarted(automationObject as DTE, replacementsDictionary, runKind, customParams);
 }