main
cs 31 lines 1.05 KB
Raw
1 // 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.
2
3 namespace WixToolset.Core.Native
4 {
5 /// <summary>
6 /// Cabinet created by compressing files.
7 /// </summary>
8 public sealed class CabinetCreated
9 {
10 /// <summary>
11 /// Constructs CabinetCreated.
12 /// </summary>
13 /// <param name="cabinetName">Name of cabinet.</param>
14 /// <param name="firstFileToken">Token of first file compressed in cabinet.</param>
15 public CabinetCreated(string cabinetName, string firstFileToken)
16 {
17 this.CabinetName = cabinetName;
18 this.FirstFileToken = firstFileToken;
19 }
20
21 /// <summary>
22 /// Gets the name of the cabinet.
23 /// </summary>
24 public string CabinetName { get; }
25
26 /// <summary>
27 /// Gets the token of the first file in the cabinet.
28 /// </summary>
29 public string FirstFileToken { get; }
30 }
31 }