mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
[Aaru.CommonTypes] Reformat and cleanup.
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user