[Aaru.CommonTypes] Reformat and cleanup.

This commit is contained in:
2023-10-03 22:48:28 +01:00
parent 68d85349b1
commit 47294b2f62
81 changed files with 4583 additions and 2851 deletions

View File

@@ -89,11 +89,13 @@ public class Extent
public ulong End { get; set; }
[Obsolete("Will be removed in Aaru 7")]
public static implicit operator Extent(ExtentType cicm) => cicm is null ? null : new Extent
{
Start = cicm.Start,
End = cicm.End
};
public static implicit operator Extent(ExtentType cicm) => cicm is null
? null
: new Extent
{
Start = cicm.Start,
End = cicm.End
};
}
public class Software
@@ -103,10 +105,12 @@ public class Software
public string OperatingSystem { get; set; }
[Obsolete("Will be removed in Aaru 7")]
public static implicit operator Software(SoftwareType cicm) => cicm is null ? null : new Software
{
Name = cicm.Name,
Version = cicm.Version,
OperatingSystem = cicm.OperatingSystem
};
}
public static implicit operator Software(SoftwareType cicm) => cicm is null
? null
: new Software
{
Name = cicm.Name,
Version = cicm.Version,
OperatingSystem = cicm.OperatingSystem
};
}