// 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.Bind.Databases
{
using System.Collections.Generic;
using WixToolset.Data;
using WixToolset.Data.Rows;
public class FileFacade
{
public FileFacade(FileRow file, WixFileRow wixFile, WixDeltaPatchFileRow deltaPatchFile)
{
this.File = file;
this.WixFile = wixFile;
this.DeltaPatchFile = deltaPatchFile;
}
public FileFacade(bool fromModule, FileRow file, WixFileRow wixFile)
{
this.FromModule = fromModule;
this.File = file;
this.WixFile = wixFile;
}
public bool FromModule { get; private set; }
public FileRow File { get; private set; }
public WixFileRow WixFile { get; private set; }
public WixDeltaPatchFileRow DeltaPatchFile { get; private set; }
///
/// Gets the set of MsiAssemblyName rows created for this file.
///
/// RowCollection of MsiAssemblyName table.
public List AssemblyNames { get; set; }
///
/// Gets or sets the MsiFileHash row for this file.
///
public Row Hash { get; set; }
}
}