internal bool IsSetBucketName()
{
return !System.String.IsNullOrEmpty(this._bucketname);
}
void validate(TransferUtilityUploadDirectoryRequest request) { if (!request.IsSetDirectory()) { throw new ArgumentNullException("directory"); } if (!request.IsSetBucketName()) { throw new ArgumentNullException("bucketName"); } if (!Directory.Exists(request.Directory)) { throw new ArgumentException(string.Format("The directory {0} does not exists!", request.Directory), "directory"); } }