// 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.WindowsInstaller.Rows
{
using WixToolset.Data.Tuples;
///
/// Specialization of a row for the WixDeltaPatchSymbolPaths table.
///
public sealed class WixDeltaPatchSymbolPathsRow : Row
{
///
/// Creates a WixDeltaPatchSymbolPaths row that does not belong to a table.
///
/// Original source lines for this row.
/// TableDefinition this row belongs to and should get its column definitions from.
public WixDeltaPatchSymbolPathsRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
base(sourceLineNumbers, tableDef)
{
}
///
/// Creates a WixDeltaPatchSymbolPaths row that belongs to a table.
///
/// Original source lines for this row.
/// Table this row belongs to and should get its column definitions from.
public WixDeltaPatchSymbolPathsRow(SourceLineNumber sourceLineNumbers, Table table) :
base(sourceLineNumbers, table)
{
}
///
/// Gets or sets the identifier the symbol paths apply to.
///
/// RetainLength list for the file.
public string Id
{
get { return (string)this.Fields[0].Data; }
set { this.Fields[0].Data = value; }
}
///
/// Gets or sets the type of the identifier.
///
public SymbolPathType Type
{
get { return (SymbolPathType)this.Fields[1].AsInteger(); }
set { this.Fields[1].Data = value; }
}
///
/// Gets or sets the delta patch symbol paths.
///
public string SymbolPaths
{
get { return (string)this.Fields[2].Data; }
set { this.Fields[2].Data = value; }
}
}
}