CloudinaryDotNet.Test.CloudinaryTest.UploadImageForTestArchive C# (CSharp) Method

UploadImageForTestArchive() private method

Uploads test image with params specified
private UploadImageForTestArchive ( string archiveTag, double width, bool useFileName ) : ImageUploadResult
archiveTag string
width double
useFileName bool
return ImageUploadResult
        private ImageUploadResult UploadImageForTestArchive(string archiveTag, double width, bool useFileName)
        {
            ImageUploadParams uploadParams = new ImageUploadParams()
            {
                File = new FileDescription(m_testImagePath),
                EagerTransforms = new List<Transformation>() { new Transformation().Crop("scale").Width(width) },
                UseFilename = useFileName,
                Tags = archiveTag
            };
            return m_cloudinary.Upload(uploadParams);
        }
CloudinaryTest