Mark van Renswoude
133adf205c
- Implementation of assembly/nuget package selection UI - Actual example generation needs more work
25 lines
504 B
C#
25 lines
504 B
C#
using System;
|
|
|
|
namespace PettingZoo.Tapeti.UI.PackageProgress
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for PackageProgressWindow.xaml
|
|
/// </summary>
|
|
public partial class PackageProgressWindow : IProgress<int>
|
|
{
|
|
public PackageProgressWindow()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
|
|
public void Report(int value)
|
|
{
|
|
Dispatcher.BeginInvoke(() =>
|
|
{
|
|
Progress.Value = value;
|
|
});
|
|
}
|
|
}
|
|
}
|