// 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.Data.Rows
{
using System;
///
/// Specialization of a row for the WixBundlePackageCommandLine table.
///
public class WixBundlePackageCommandLineRow : Row
{
///
/// Creates a WixBundlePackageCommandLineRow row that does not belong to a table.
///
/// Original source lines for this row.
/// TableDefinition this WixBundlePackageCommandLineRow row belongs to and should get its column definitions from.
public WixBundlePackageCommandLineRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
base(sourceLineNumbers, tableDef)
{
}
///
/// Creates an WixBundlePackageCommandLineRow row that belongs to a table.
///
/// Original source lines for this row.
/// Table this WixBundlePackageCommandLineRow row belongs to and should get its column definitions from.
public WixBundlePackageCommandLineRow(SourceLineNumber sourceLineNumbers, Table table)
: base(sourceLineNumbers, table)
{
}
///
/// Gets or sets the package identifier.
///
/// The package identifier.
public string ChainPackageId
{
get { return (string)this.Fields[0].Data; }
set { this.Fields[0].Data = value; }
}
///
/// Gets or sets the command-line argument for installation.
///
/// The command-line argument.
public string InstallArgument
{
get { return (string)this.Fields[1].Data; }
set { this.Fields[1].Data = value; }
}
///
/// Gets or sets the command-line argument for uninstallation.
///
/// The command-line argument.
public string UninstallArgument
{
get { return (string)this.Fields[2].Data; }
set { this.Fields[2].Data = value; }
}
///
/// Gets or sets the command-line argument for repair.
///
/// The command-line argument.
public string RepairArgument
{
get { return (string)this.Fields[3].Data; }
set { this.Fields[3].Data = value; }
}
///
/// Gets or sets the condition.
///
/// The condition.
public string Condition
{
get { return (string)this.Fields[4].Data; }
set { this.Fields[4].Data = value; }
}
}
}