diff options
Diffstat (limited to 'src/WixToolset.Data.WindowsInstaller/Rows/WixApprovedExeForElevationRow.cs')
-rw-r--r-- | src/WixToolset.Data.WindowsInstaller/Rows/WixApprovedExeForElevationRow.cs | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/src/WixToolset.Data.WindowsInstaller/Rows/WixApprovedExeForElevationRow.cs b/src/WixToolset.Data.WindowsInstaller/Rows/WixApprovedExeForElevationRow.cs deleted file mode 100644 index c10a39ab..00000000 --- a/src/WixToolset.Data.WindowsInstaller/Rows/WixApprovedExeForElevationRow.cs +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
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.Data.Rows | ||
4 | { | ||
5 | |||
6 | /// <summary> | ||
7 | /// Specialization of a row for the WixApprovedExeForElevation table. | ||
8 | /// </summary> | ||
9 | public class WixApprovedExeForElevationRow : Row | ||
10 | { | ||
11 | /// <summary> | ||
12 | /// Creates an ApprovedExeForElevation row that does not belong to a table. | ||
13 | /// </summary> | ||
14 | /// <param name="sourceLineNumbers">Original source lines for this row.</param> | ||
15 | /// <param name="tableDef">TableDefinition this ApprovedExeForElevation row belongs to and should get its column definitions from.</param> | ||
16 | public WixApprovedExeForElevationRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) : | ||
17 | base(sourceLineNumbers, tableDef) | ||
18 | { | ||
19 | } | ||
20 | |||
21 | /// <summary> | ||
22 | /// Creates an ApprovedExeForElevation row that belongs to a table. | ||
23 | /// </summary> | ||
24 | /// <param name="sourceLineNumbers">Original source lines for this row.</param> | ||
25 | /// <param name="table">Table this ApprovedExeForElevation row belongs to and should get its column definitions from.</param> | ||
26 | public WixApprovedExeForElevationRow(SourceLineNumber sourceLineNumbers, Table table) | ||
27 | : base(sourceLineNumbers, table) | ||
28 | { | ||
29 | } | ||
30 | |||
31 | /// <summary> | ||
32 | /// Gets or sets the ApprovedExeForElevation identifier. | ||
33 | /// </summary> | ||
34 | /// <value>The ApprovedExeForElevation identifier.</value> | ||
35 | public string Id | ||
36 | { | ||
37 | get { return (string)this.Fields[0].Data; } | ||
38 | set { this.Fields[0].Data = value; } | ||
39 | } | ||
40 | |||
41 | /// <summary> | ||
42 | /// Gets or sets the Key path. | ||
43 | /// </summary> | ||
44 | /// <value>The Key path.</value> | ||
45 | public string Key | ||
46 | { | ||
47 | get { return (string)this.Fields[1].Data; } | ||
48 | set { this.Fields[1].Data = value; } | ||
49 | } | ||
50 | |||
51 | /// <summary> | ||
52 | /// Gets or sets the Value name. | ||
53 | /// </summary> | ||
54 | /// <value>The Value name.</value> | ||
55 | public string ValueName | ||
56 | { | ||
57 | get { return (string)this.Fields[2].Data; } | ||
58 | set { this.Fields[2].Data = value; } | ||
59 | } | ||
60 | |||
61 | /// <summary> | ||
62 | /// Gets or sets the attibutes. | ||
63 | /// </summary> | ||
64 | /// <value>The BundleApprovedExeForElevationAttributes.</value> | ||
65 | public BundleApprovedExeForElevationAttributes Attributes | ||
66 | { | ||
67 | get { return (BundleApprovedExeForElevationAttributes)this.Fields[3].Data; } | ||
68 | set { this.Fields[3].Data = (int)value; } | ||
69 | } | ||
70 | |||
71 | /// <summary> | ||
72 | /// Gets whether this row is 64-bit. | ||
73 | /// </summary> | ||
74 | public bool Win64 | ||
75 | { | ||
76 | get { return BundleApprovedExeForElevationAttributes.Win64 == (this.Attributes & BundleApprovedExeForElevationAttributes.Win64); } | ||
77 | } | ||
78 | } | ||
79 | } | ||