Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ZipFileValidationHandler.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under Apache 2.0 License. See LICENSE.md for details.
3 //
4 // --------------------------------------------------------------------------------------------------------------------
5 // <copyright file="ZipFileValidationHandler.cs" company="Matthew Leibowitz">
6 // Copyright (c) Matthew Leibowitz
7 // This code is licensed under the Apache 2.0 License
8 // http://www.apache.org/licenses/LICENSE-2.0.html
9 // </copyright>
10 // <summary>
11 // The zip file validation handler.
12 // </summary>
13 // --------------------------------------------------------------------------------------------------------------------
14 
15 namespace System.IO.Compression.Zip
16 {
17  /// <summary>
18  /// The zip file validation handler.
19  /// </summary>
21  {
22  #region Constructors and Destructors
23 
24  /// <summary>
25  /// Initializes a new instance of the <see cref="ZipFileValidationHandler"/> class.
26  /// </summary>
27  /// <param name="filename">
28  /// The filename.
29  /// </param>
30  public ZipFileValidationHandler(string filename)
31  {
32  this.Filename = filename;
33  }
34 
35  #endregion
36 
37  #region Public Properties
38 
39  /// <summary>
40  /// Gets or sets AverageSpeed.
41  /// </summary>
42  public float AverageSpeed { get; set; }
43 
44  /// <summary>
45  /// Gets or sets CurrentBytes.
46  /// </summary>
47  public long CurrentBytes { get; set; }
48 
49  /// <summary>
50  /// Gets Filename.
51  /// </summary>
52  public string Filename { get; private set; }
53 
54  /// <summary>
55  /// Gets or sets a value indicating whether ShouldCancel.
56  /// </summary>
57  public bool ShouldCancel { get; set; }
58 
59  /// <summary>
60  /// Gets or sets TimeRemaining.
61  /// </summary>
62  public long TimeRemaining { get; set; }
63 
64  /// <summary>
65  /// Gets or sets TotalBytes.
66  /// </summary>
67  public long TotalBytes { get; set; }
68 
69  /// <summary>
70  /// Gets or sets UpdateUi.
71  /// </summary>
72  public Action<ZipFileValidationHandler> UpdateUi { get; set; }
73 
74  #endregion
75  }
76 }
Compression
Compression method enumeration
Definition: Compression.cs:20
ZipFileValidationHandler(string filename)
Initializes a new instance of the ZipFileValidationHandler class.