本文整理汇总了C#中IProgressMonitor.ShowPackageConsole方法的典型用法代码示例。如果您正苦于以下问题:C# IProgressMonitor.ShowPackageConsole方法的具体用法?C# IProgressMonitor.ShowPackageConsole怎么用?C# IProgressMonitor.ShowPackageConsole使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IProgressMonitor
的用法示例。
在下文中一共展示了IProgressMonitor.ShowPackageConsole方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ShowPackageConsole
protected virtual void ShowPackageConsole (IProgressMonitor progressMonitor)
{
progressMonitor.ShowPackageConsole ();
}
示例2: RunInternal
void RunInternal (IProgressMonitor progressMonitor, ProgressMonitorStatusMessage progressMessage)
{
var commandLine = new MonoPclCommandLine () {
List = true
};
commandLine.BuildCommandLine ();
progressMonitor.ShowPackageConsole ();
progressMonitor.Log.WriteLine (commandLine.ToString ());
progressMonitor.Log.WriteLine ();
RunMonoPcl (progressMonitor, progressMessage, commandLine);
}
示例3: ReportOutcome
void ReportOutcome (
IAsyncOperation operation,
IProgressMonitor progressMonitor,
ProgressMonitorStatusMessage progressMessage)
{
if (operation.Success) {
progressMonitor.ReportSuccess (progressMessage.Success);
packageManagementEvents.OnPackagesRestored ();
} else {
progressMonitor.ReportError (progressMessage.Error, null);
progressMonitor.ShowPackageConsole ();
RestoreFailed = true;
}
}
示例4: ReportOutcome
void ReportOutcome (
IAsyncOperation operation,
IProgressMonitor progressMonitor,
ProgressMonitorStatusMessage progressMessage)
{
if (operation.Success) {
progressMonitor.ReportSuccess (progressMessage.Success);
} else {
progressMonitor.ReportError (progressMessage.Error, null);
progressMonitor.ShowPackageConsole ();
}
}