diff --git a/Partition.cs b/Partition.cs index ad86bf2da..930b20d96 100644 --- a/Partition.cs +++ b/Partition.cs @@ -38,23 +38,23 @@ namespace DiscImageChef.CommonTypes public struct Partition { /// Partition number, 0-started - public ulong PartitionSequence; + public ulong Sequence; /// Partition type - public string PartitionType; + public string Type; /// Partition name (if the scheme supports it) - public string PartitionName; + public string Name; /// Start of the partition, in bytes - public ulong PartitionStart; + public ulong Offset; /// LBA of partition start - public ulong PartitionStartSector; + public ulong Start; /// Length in bytes of the partition - public ulong PartitionLength; + public ulong Size; /// Length in sectors of the partition - public ulong PartitionSectors; + public ulong Length; /// Information that does not find space in this struct - public string PartitionDescription; + public string Description; /// LBA of last partition sector - public ulong PartitionEndSector { get { return PartitionStartSector + PartitionSectors - 1; }} + public ulong End { get { return Start + Length - 1; }} } }