diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2018-12-29 22:12:08 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2018-12-29 22:12:08 -0600 |
| commit | 61847dddd4fd497057c780658e383c4627de19ec (patch) | |
| tree | f85a845182922538ab9aa6ee85b0db3ab40c1f6e /src/Samples/ManagedBundleRunner/BundleProgressEventArgs.cs | |
| parent | 8295f5f8fd28042e1a0a172d5afbba79178064c2 (diff) | |
| download | wix-61847dddd4fd497057c780658e383c4627de19ec.tar.gz wix-61847dddd4fd497057c780658e383c4627de19ec.tar.bz2 wix-61847dddd4fd497057c780658e383c4627de19ec.zip | |
Import code from old v4 repo
Diffstat (limited to 'src/Samples/ManagedBundleRunner/BundleProgressEventArgs.cs')
| -rw-r--r-- | src/Samples/ManagedBundleRunner/BundleProgressEventArgs.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Samples/ManagedBundleRunner/BundleProgressEventArgs.cs b/src/Samples/ManagedBundleRunner/BundleProgressEventArgs.cs new file mode 100644 index 00000000..ed42b5b1 --- /dev/null +++ b/src/Samples/ManagedBundleRunner/BundleProgressEventArgs.cs | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 2 | |||
| 3 | namespace Wix.Samples | ||
| 4 | { | ||
| 5 | using System; | ||
| 6 | |||
| 7 | /// <summary> | ||
| 8 | /// Arguments provided when bundle progress is updated. | ||
| 9 | /// </summary> | ||
| 10 | [Serializable] | ||
| 11 | public class BundleProgressEventArgs : EventArgs | ||
| 12 | { | ||
| 13 | /// <summary> | ||
| 14 | /// Gets the percentage from 0 to 100 completed for a bundle. | ||
| 15 | /// </summary> | ||
| 16 | public int Progress { get; set; } | ||
| 17 | |||
| 18 | /// <summary> | ||
| 19 | /// Gets or sets the <see cref="Result"/> of the operation. This is passed back to the bundle. | ||
| 20 | /// </summary> | ||
| 21 | public BundleResult Result { get; set; } | ||
| 22 | } | ||
| 23 | } | ||
