public async Task SetGptType(PartitionType partitionType) { Log.Verbose("Setting partition type to {Partition} from {OldType} to {NewType}", this, PartitionType, partitionType); await LowLevelApi.SetPartitionType(this, partitionType); Log.Verbose("Partition type set"); }
protected bool Equals(PartitionType other) { return(Guid.Equals(other.Guid)); }
public Task SetGptType(PartitionType basic) { return(DiskApi.SetGptType(this, basic)); }
public static Task <IPartition> CreatePartition(this IDisk self, PartitionType partitionType, string label = "") { return(self.CreatePartition(ByteSize.MaxValue, partitionType, label)); }