예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LogicalVolume" /> class.
 /// </summary>
 /// <param name="deviceRootNode">Specifies the device tree defining how to combine partitions to create this logical volume..</param>
 /// <param name="groupName">Specifies the group name of the logical volume..</param>
 /// <param name="groupUuid">Specifies the group uuid of the logical volume..</param>
 /// <param name="name">Specifies the name of the logical volume..</param>
 /// <param name="uuid">Specifies the uuid of the logical volume..</param>
 public LogicalVolume(DeviceTree deviceRootNode = default(DeviceTree), string groupName = default(string), string groupUuid = default(string), string name = default(string), string uuid = default(string))
 {
     this.DeviceRootNode = deviceRootNode;
     this.GroupName      = groupName;
     this.GroupUuid      = groupUuid;
     this.Name           = name;
     this.Uuid           = uuid;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DeviceNode" /> class.
 /// </summary>
 /// <param name="intermediateNode">Specifies an intermediate node of the logical device tree..</param>
 /// <param name="leafNode">Specifies the leaf node of the device tree..</param>
 public DeviceNode(DeviceTree intermediateNode = default(DeviceTree), FilePartitionBlock leafNode = default(FilePartitionBlock))
 {
     this.IntermediateNode = intermediateNode;
     this.LeafNode         = leafNode;
 }