Revision b12f73e8 trunk/Pithos.Network/CloudFilesClient.cs
b/trunk/Pithos.Network/CloudFilesClient.cs | ||
---|---|---|
819 | 819 |
} |
820 | 820 |
|
821 | 821 |
public void CreateContainer(string account, string container) |
822 |
{ |
|
822 |
{ |
|
823 |
if (String.IsNullOrWhiteSpace(account)) |
|
824 |
throw new ArgumentNullException("account"); |
|
823 | 825 |
if (String.IsNullOrWhiteSpace(container)) |
824 |
throw new ArgumentNullException("container", "The container property can't be empty");
|
|
826 |
throw new ArgumentNullException("container"); |
|
825 | 827 |
Contract.EndContractBlock(); |
826 | 828 |
|
827 | 829 |
using (var client = new RestClient(_baseClient)) |
Also available in: Unified diff