Skip to content

Commit 6c6843e

Browse files
committed
Tweak to ProgressEventArgs and update to ReadMe.rtf
1 parent 06fc63b commit 6c6843e

File tree

11 files changed

+101
-147
lines changed

11 files changed

+101
-147
lines changed

doc/ReadMe.rtf

Lines changed: 72 additions & 135 deletions
Large diffs are not rendered by default.

samples/cs/CreateZipFile/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[assembly: AssemblyTrademark("")]
1111
[assembly: AssemblyCulture("")]
1212

13-
[assembly: AssemblyVersion("0.85.3.364")]
13+
[assembly: AssemblyVersion("0.85.3.365")]
1414

1515
[assembly: AssemblyDelaySign(false)]
1616
[assembly: AssemblyKeyFile("")]

samples/cs/FastZip/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// You can specify all values by your own or you can build default build and revision
2424
// numbers with the '*' character (the default):
2525

26-
[assembly: AssemblyVersion("0.85.3.364")]
26+
[assembly: AssemblyVersion("0.85.3.365")]
2727

2828
// The following attributes specify the key for the sign of your assembly. See the
2929
// .NET Framework documentation for more information about signing.

samples/cs/minibzip2/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[assembly: AssemblyTrademark("")]
1111
[assembly: AssemblyCulture("")]
1212

13-
[assembly: AssemblyVersion("0.85.3.364")]
13+
[assembly: AssemblyVersion("0.85.3.365")]
1414

1515
[assembly: AssemblyDelaySign(false)]
1616
[assembly: AssemblyKeyFile("")]

samples/cs/minigzip/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[assembly: AssemblyTrademark("")]
1111
[assembly: AssemblyCulture("")]
1212

13-
[assembly: AssemblyVersion("0.85.3.364")]
13+
[assembly: AssemblyVersion("0.85.3.365")]
1414

1515
[assembly: AssemblyDelaySign(false)]
1616
[assembly: AssemblyKeyFile("")]

samples/cs/sz/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// You can specify all values by your own or you can build default build and revision
2424
// numbers with the '*' character (the default):
2525

26-
[assembly: AssemblyVersion("0.85.3.364")]
26+
[assembly: AssemblyVersion("0.85.3.365")]
2727

2828
// The following attributes specify the key for the sign of your assembly. See the
2929
// .NET Framework documentation for more information about signing.

samples/cs/tar/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// You can specify all values by your own or you can build default build and revision
2424
// numbers with the '*' character (the default):
2525

26-
[assembly: AssemblyVersion("0.85.3.364")]
26+
[assembly: AssemblyVersion("0.85.3.365")]
2727

2828
// The following attributes specify the key for the sign of your assembly. See the
2929
// .NET Framework documentation for more information about signing.

samples/cs/zf/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// You can specify all the values or you can default the Revision and Build Numbers
2727
// by using the '*' as shown below:
2828

29-
[assembly: AssemblyVersion("0.85.3.364")]
29+
[assembly: AssemblyVersion("0.85.3.365")]
3030

3131
//
3232
// In order to sign your assembly you must specify a key to use. Refer to the

src/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
[assembly: AssemblyCopyright("Copyright 2001-2007 Mike Krueger, John Reilly")]
7474
[assembly: AssemblyTrademark("Copyright 2001-2007 Mike Krueger, John Reilly")]
7575

76-
[assembly: AssemblyVersion("0.85.3.364")]
76+
[assembly: AssemblyVersion("0.85.3.365")]
7777
[assembly: AssemblyInformationalVersionAttribute("0.85.3")]
7878

7979

src/Core/FileSystemScanner.cs

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public class ProgressEventArgs : EventArgs
8888
/// <summary>
8989
/// Initialise a new instance of <see cref="ScanEventArgs"/>
9090
/// </summary>
91-
/// <param name="name"></param>
91+
/// <param name="name">The file or directory name if known.</param>
9292
/// <param name="processed">The number of bytes processed so far</param>
9393
/// <param name="target">The total number of bytes to process, 0 if not known</param>
9494
public ProgressEventArgs(string name, long processed, long target)
@@ -117,9 +117,9 @@ public bool ContinueRunning
117117
}
118118

119119
/// <summary>
120-
/// Get a percentage representing the how complete the operation is.
120+
/// Get a percentage representing how much of the <see cref="Target"></see> has been processed
121121
/// </summary>
122-
/// <value>0 to 100 percent; 0 if target is not known.</value>
122+
/// <value>0.0 to 100.0 percent; 0 if target is not known.</value>
123123
public float PercentComplete
124124
{
125125
get
@@ -134,7 +134,24 @@ public float PercentComplete
134134
}
135135
}
136136
}
137+
138+
/// <summary>
139+
/// The number of bytes processed so far
140+
/// </summary>
141+
public long Processed
142+
{
143+
get { return processed_; }
144+
}
137145

146+
/// <summary>
147+
/// The number of bytes to process.
148+
/// </summary>
149+
/// <remarks>Target may be 0 or negative if the value isnt known.</remarks>
150+
public long Target
151+
{
152+
get { return target_; }
153+
}
154+
138155
#region Instance Fields
139156
string name_;
140157
long processed_;

0 commit comments

Comments
 (0)