Skip to content

Commit

Permalink
Fix several code smells DynamicsValue/fake-xrm-easy#157
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimontana82 committed Aug 10, 2024
1 parent 376c0ff commit 7c4b36f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class MaxSizeExceededException: Exception
/// </summary>
/// <param name="logicalName">The table with the column that has the max file size limitation</param>
/// <param name="attributeName">The column with the max file size limitation</param>
/// <param name="currentMaxSize">The current max file size limitation</param>
internal MaxSizeExceededException(string logicalName, string attributeName, int currentMaxSize) :
base($"Could not commit the file upload because the sum of the block sizes exceeds the current allowed max file size of {currentMaxSize.ToString()}KB for column '{attributeName}' in table '{logicalName}'")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ internal interface IInMemoryFileDbDownloader

List<FileDownloadSession> GetAllFileDownloadSessions();

byte[] DownloadFileBlock(DownloadBlockProperties uploadBlockProperties);
byte[] DownloadFileBlock(DownloadBlockProperties downloadBlockProperties);
}
}

0 comments on commit 7c4b36f

Please sign in to comment.