mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use object initializer.
This commit is contained in:
@@ -60,8 +60,10 @@ public class Scan
|
||||
if(cicm is null)
|
||||
return null;
|
||||
|
||||
var scan = new Scan();
|
||||
scan.File = cicm.File;
|
||||
var scan = new Scan
|
||||
{
|
||||
File = cicm.File
|
||||
};
|
||||
|
||||
if(cicm.Checksums is not null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user