From 0199bbc046c99bc176512abf88c6ae729f7a0cd6 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Wed, 19 Jul 2017 16:37:11 +0100 Subject: [PATCH] Refactor: Simplify field names. --- Partition.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Partition.cs b/Partition.cs index ad86bf2..930b20d 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; }} } }