diff options
Diffstat (limited to 'src/wixext/Tuples/CertificateHashTuple.cs')
-rw-r--r-- | src/wixext/Tuples/CertificateHashTuple.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/wixext/Tuples/CertificateHashTuple.cs b/src/wixext/Tuples/CertificateHashTuple.cs index 11f0592f..866d474c 100644 --- a/src/wixext/Tuples/CertificateHashTuple.cs +++ b/src/wixext/Tuples/CertificateHashTuple.cs | |||
@@ -3,53 +3,53 @@ | |||
3 | namespace WixToolset.Iis | 3 | namespace WixToolset.Iis |
4 | { | 4 | { |
5 | using WixToolset.Data; | 5 | using WixToolset.Data; |
6 | using WixToolset.Iis.Tuples; | 6 | using WixToolset.Iis.Symbols; |
7 | 7 | ||
8 | public static partial class IisTupleDefinitions | 8 | public static partial class IisSymbolDefinitions |
9 | { | 9 | { |
10 | public static readonly IntermediateTupleDefinition CertificateHash = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition CertificateHash = new IntermediateSymbolDefinition( |
11 | IisTupleDefinitionType.CertificateHash.ToString(), | 11 | IisSymbolDefinitionType.CertificateHash.ToString(), |
12 | new[] | 12 | new[] |
13 | { | 13 | { |
14 | new IntermediateFieldDefinition(nameof(CertificateHashTupleFields.CertificateRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(CertificateHashSymbolFields.CertificateRef), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(CertificateHashTupleFields.Hash), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(CertificateHashSymbolFields.Hash), IntermediateFieldType.String), |
16 | }, | 16 | }, |
17 | typeof(CertificateHashTuple)); | 17 | typeof(CertificateHashSymbol)); |
18 | } | 18 | } |
19 | } | 19 | } |
20 | 20 | ||
21 | namespace WixToolset.Iis.Tuples | 21 | namespace WixToolset.Iis.Symbols |
22 | { | 22 | { |
23 | using WixToolset.Data; | 23 | using WixToolset.Data; |
24 | 24 | ||
25 | public enum CertificateHashTupleFields | 25 | public enum CertificateHashSymbolFields |
26 | { | 26 | { |
27 | CertificateRef, | 27 | CertificateRef, |
28 | Hash, | 28 | Hash, |
29 | } | 29 | } |
30 | 30 | ||
31 | public class CertificateHashTuple : IntermediateTuple | 31 | public class CertificateHashSymbol : IntermediateSymbol |
32 | { | 32 | { |
33 | public CertificateHashTuple() : base(IisTupleDefinitions.CertificateHash, null, null) | 33 | public CertificateHashSymbol() : base(IisSymbolDefinitions.CertificateHash, null, null) |
34 | { | 34 | { |
35 | } | 35 | } |
36 | 36 | ||
37 | public CertificateHashTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(IisTupleDefinitions.CertificateHash, sourceLineNumber, id) | 37 | public CertificateHashSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(IisSymbolDefinitions.CertificateHash, sourceLineNumber, id) |
38 | { | 38 | { |
39 | } | 39 | } |
40 | 40 | ||
41 | public IntermediateField this[CertificateHashTupleFields index] => this.Fields[(int)index]; | 41 | public IntermediateField this[CertificateHashSymbolFields index] => this.Fields[(int)index]; |
42 | 42 | ||
43 | public string CertificateRef | 43 | public string CertificateRef |
44 | { | 44 | { |
45 | get => this.Fields[(int)CertificateHashTupleFields.CertificateRef].AsString(); | 45 | get => this.Fields[(int)CertificateHashSymbolFields.CertificateRef].AsString(); |
46 | set => this.Set((int)CertificateHashTupleFields.CertificateRef, value); | 46 | set => this.Set((int)CertificateHashSymbolFields.CertificateRef, value); |
47 | } | 47 | } |
48 | 48 | ||
49 | public string Hash | 49 | public string Hash |
50 | { | 50 | { |
51 | get => this.Fields[(int)CertificateHashTupleFields.Hash].AsString(); | 51 | get => this.Fields[(int)CertificateHashSymbolFields.Hash].AsString(); |
52 | set => this.Set((int)CertificateHashTupleFields.Hash, value); | 52 | set => this.Set((int)CertificateHashSymbolFields.Hash, value); |
53 | } | 53 | } |
54 | } | 54 | } |
55 | } \ No newline at end of file | 55 | } \ No newline at end of file |