mirror of
https://github.com/MobileTooling/Ffu2Vhdx.git
synced 2026-07-27 12:48:20 -07:00
99 lines
1.6 KiB
C#
99 lines
1.6 KiB
C#
using System.Xml.Serialization;
|
|
|
|
namespace Microsoft.WindowsPhone.Imaging
|
|
{
|
|
public class InputPartition
|
|
{
|
|
public string Name
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string Type
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string Id
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public bool ReadOnly
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public bool AttachDriveLetter
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public bool Hidden
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public bool ServicePartition
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public bool Bootable
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public uint TotalSectors
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public bool UseAllSpace
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string FileSystem
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string PrimaryPartition
|
|
{
|
|
get => string.IsNullOrEmpty(_primaryPartition) ? Name : _primaryPartition;
|
|
set => _primaryPartition = value;
|
|
}
|
|
|
|
public bool RequiredToFlash
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
[XmlIgnore]
|
|
public uint ByteAlignment
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
[XmlIgnore]
|
|
public uint ClusterSize
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
[XmlIgnore]
|
|
public ulong OffsetInSectors
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public bool PrepareFveMetadata
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
private string _primaryPartition;
|
|
}
|
|
}
|