Revision e394ef0f trunk/Pithos.Core/Agents/CloudTransferAction.cs
b/trunk/Pithos.Core/Agents/CloudTransferAction.cs | ||
---|---|---|
99 | 99 |
public CloudAction(AccountInfo accountInfo, CloudActionType action, FileSystemInfo localFile, ObjectInfo cloudFile, FileState state, int blockSize, string algorithm) |
100 | 100 |
: this(accountInfo,action) |
101 | 101 |
{ |
102 |
if(blockSize<=0) |
|
103 |
throw new ArgumentOutOfRangeException("blockSize"); |
|
104 |
Contract.EndContractBlock(); |
|
102 | 105 |
LocalFile = localFile.WithProperCapitalization(); |
103 | 106 |
CloudFile = cloudFile; |
104 | 107 |
FileState = state; |
Also available in: Unified diff