Skip to content

Commit

Permalink
re-indent
Browse files Browse the repository at this point in the history
  • Loading branch information
cdsboy committed Dec 31, 2011
1 parent 2fb4f73 commit 828b177
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/csharp/Plupload/FileReference.cs
Expand Up @@ -43,7 +43,7 @@ public class FileReference {
private Dictionary<string, object> headers;
private Stream fileStream;
private Stream imageStream;
private HttpWebRequest req;
private HttpWebRequest req;
#endregion

/// <summary>Upload complete delegate.</summary>
Expand Down Expand Up @@ -78,9 +78,9 @@ public class FileReference {
public FileReference(string id, FileInfo info) {
this.id = id;
this.name = info.Name;
this.stopped = true;
this.stopped = true;
this.info = info;
this.size = info.Length;
this.size = info.Length;
}

/// <summary>Unique id for the file reference.</summary>
Expand Down Expand Up @@ -125,7 +125,7 @@ public class FileReference {

this.chunk = 0;
this.chunking = chunkSize > 0;
this.stopped = false;
this.stopped = false;


this.uploadUrl = upload_url;
Expand Down Expand Up @@ -254,15 +254,15 @@ public class FileReference {
return true;
}

/// <summary>
/// Cancels uploading the current file.
/// </summary>
public void CancelUpload() {
if (!this.stopped) {
this.stopped = true;
req.Abort();
}
}
/// <summary>
/// Cancels uploading the current file.
/// </summary>
public void CancelUpload() {
if (!this.stopped) {
this.stopped = true;
req.Abort();
}
}

#region protected methods

Expand Down

0 comments on commit 828b177

Please sign in to comment.