示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeviceTreeChildDevice" /> class.
 /// </summary>
 /// <param name="device">device.</param>
 /// <param name="deviceType">This specifies how the parent device is using this child device..</param>
 /// <param name="partitionSlice">partitionSlice.</param>
 public DeviceTreeChildDevice(DeviceTree device = default(DeviceTree), int?deviceType = default(int?), DeviceTreePartitionSlice partitionSlice = default(DeviceTreePartitionSlice))
 {
     this.DeviceType     = deviceType;
     this.Device         = device;
     this.DeviceType     = deviceType;
     this.PartitionSlice = partitionSlice;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="VolumeInfoLogicalVolumeInfo" /> class.
 /// </summary>
 /// <param name="deviceTree">deviceTree.</param>
 /// <param name="logicalVolumeName">Logical volume name..</param>
 /// <param name="logicalVolumeUuid">Logical volume uuid..</param>
 /// <param name="volumeGroupName">Volume group name..</param>
 /// <param name="volumeGroupUuid">Volume group uuid..</param>
 public VolumeInfoLogicalVolumeInfo(DeviceTree deviceTree = default(DeviceTree), string logicalVolumeName = default(string), string logicalVolumeUuid = default(string), string volumeGroupName = default(string), string volumeGroupUuid = default(string))
 {
     this.LogicalVolumeName = logicalVolumeName;
     this.LogicalVolumeUuid = logicalVolumeUuid;
     this.VolumeGroupName   = volumeGroupName;
     this.VolumeGroupUuid   = volumeGroupUuid;
     this.DeviceTree        = deviceTree;
     this.LogicalVolumeName = logicalVolumeName;
     this.LogicalVolumeUuid = logicalVolumeUuid;
     this.VolumeGroupName   = volumeGroupName;
     this.VolumeGroupUuid   = volumeGroupUuid;
 }