public static object GetDefaultTransferDirectoryOptions(DMLibDataType sourceType, DMLibDataType destType)
        {
            if (DMLibTestBase.IsLocal(sourceType))
            {
                var result = new UploadDirectoryOptions();

                if (IsCloudBlob(destType))
                {
                    result.BlobType = MapBlobDataTypeToXSCLBlobType(destType);
                }

                return(result);
            }
            else if (DMLibTestBase.IsLocal(destType))
            {
                return(new DownloadDirectoryOptions());
            }
            else
            {
                var result = new CopyDirectoryOptions();

                if (IsCloudBlob(destType))
                {
                    result.BlobType = MapBlobDataTypeToXSCLBlobType(destType);
                }

                return(result);
            }
        }
 public static object GetDefaultTransferOptions(DMLibDataType sourceType, DMLibDataType destType)
 {
     if (DMLibTestBase.IsLocal(sourceType))
     {
         return(new UploadOptions());
     }
     else if (DMLibTestBase.IsLocal(destType))
     {
         return(new DownloadOptions());
     }
     else
     {
         return(new CopyOptions());
     }
 }
 public DMLibWrapper GetDMLibWrapper(DMLibDataType sourceType, DMLibDataType destType, bool isServiceCopy)
 {
     if (DMLibTestBase.IsLocal(sourceType))
     {
         return(new UploadWrapper());
     }
     else if (DMLibTestBase.IsLocal(destType))
     {
         return(new DownloadWrapper());
     }
     else
     {
         return(new CopyWrapper());
     }
 }