// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
namespace WixToolset.Dtf.WindowsInstaller
{
using System;
using System.Diagnostics.CodeAnalysis;
///
/// Represents a media disk source of a product or a patch.
///
[SuppressMessage("Microsoft.Performance", "CA1815:OverrideEqualsAndOperatorEqualsOnValueTypes")]
public struct MediaDisk
{
private int diskId;
private string volumeLabel;
private string diskPrompt;
///
/// Creates a new media disk.
///
///
///
///
public MediaDisk(int diskId, string volumeLabel, string diskPrompt)
{
this.diskId = diskId;
this.volumeLabel = volumeLabel;
this.diskPrompt = diskPrompt;
}
///
/// Gets or sets the disk id of the media disk.
///
public int DiskId
{
get { return this.diskId; }
set { this.diskId = value; }
}
///
/// Gets or sets the volume label of the media disk.
///
public string VolumeLabel
{
get { return this.volumeLabel; }
set { this.volumeLabel = value; }
}
///
/// Gets or sets the disk prompt of the media disk.
///
public string DiskPrompt
{
get { return this.diskPrompt; }
set { this.diskPrompt = value; }
}
}
}