diff options
Diffstat (limited to 'src/wixext/Tuples/IIsWebErrorTuple.cs')
| -rw-r--r-- | src/wixext/Tuples/IIsWebErrorTuple.cs | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/wixext/Tuples/IIsWebErrorTuple.cs b/src/wixext/Tuples/IIsWebErrorTuple.cs index ba6b2722..f8488fed 100644 --- a/src/wixext/Tuples/IIsWebErrorTuple.cs +++ b/src/wixext/Tuples/IIsWebErrorTuple.cs | |||
| @@ -3,30 +3,30 @@ | |||
| 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 IIsWebError = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition IIsWebError = new IntermediateSymbolDefinition( |
| 11 | IisTupleDefinitionType.IIsWebError.ToString(), | 11 | IisSymbolDefinitionType.IIsWebError.ToString(), |
| 12 | new[] | 12 | new[] |
| 13 | { | 13 | { |
| 14 | new IntermediateFieldDefinition(nameof(IIsWebErrorTupleFields.ErrorCode), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(IIsWebErrorSymbolFields.ErrorCode), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(IIsWebErrorTupleFields.SubCode), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(IIsWebErrorSymbolFields.SubCode), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(IIsWebErrorTupleFields.ParentType), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(IIsWebErrorSymbolFields.ParentType), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(IIsWebErrorTupleFields.ParentValue), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(IIsWebErrorSymbolFields.ParentValue), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(IIsWebErrorTupleFields.File), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(IIsWebErrorSymbolFields.File), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(IIsWebErrorTupleFields.URL), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(IIsWebErrorSymbolFields.URL), IntermediateFieldType.String), |
| 20 | }, | 20 | }, |
| 21 | typeof(IIsWebErrorTuple)); | 21 | typeof(IIsWebErrorSymbol)); |
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | namespace WixToolset.Iis.Tuples | 25 | namespace WixToolset.Iis.Symbols |
| 26 | { | 26 | { |
| 27 | using WixToolset.Data; | 27 | using WixToolset.Data; |
| 28 | 28 | ||
| 29 | public enum IIsWebErrorTupleFields | 29 | public enum IIsWebErrorSymbolFields |
| 30 | { | 30 | { |
| 31 | ErrorCode, | 31 | ErrorCode, |
| 32 | SubCode, | 32 | SubCode, |
| @@ -36,52 +36,52 @@ namespace WixToolset.Iis.Tuples | |||
| 36 | URL, | 36 | URL, |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | public class IIsWebErrorTuple : IntermediateTuple | 39 | public class IIsWebErrorSymbol : IntermediateSymbol |
| 40 | { | 40 | { |
| 41 | public IIsWebErrorTuple() : base(IisTupleDefinitions.IIsWebError, null, null) | 41 | public IIsWebErrorSymbol() : base(IisSymbolDefinitions.IIsWebError, null, null) |
| 42 | { | 42 | { |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | public IIsWebErrorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(IisTupleDefinitions.IIsWebError, sourceLineNumber, id) | 45 | public IIsWebErrorSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(IisSymbolDefinitions.IIsWebError, sourceLineNumber, id) |
| 46 | { | 46 | { |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | public IntermediateField this[IIsWebErrorTupleFields index] => this.Fields[(int)index]; | 49 | public IntermediateField this[IIsWebErrorSymbolFields index] => this.Fields[(int)index]; |
| 50 | 50 | ||
| 51 | public int ErrorCode | 51 | public int ErrorCode |
| 52 | { | 52 | { |
| 53 | get => this.Fields[(int)IIsWebErrorTupleFields.ErrorCode].AsNumber(); | 53 | get => this.Fields[(int)IIsWebErrorSymbolFields.ErrorCode].AsNumber(); |
| 54 | set => this.Set((int)IIsWebErrorTupleFields.ErrorCode, value); | 54 | set => this.Set((int)IIsWebErrorSymbolFields.ErrorCode, value); |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | public int SubCode | 57 | public int SubCode |
| 58 | { | 58 | { |
| 59 | get => this.Fields[(int)IIsWebErrorTupleFields.SubCode].AsNumber(); | 59 | get => this.Fields[(int)IIsWebErrorSymbolFields.SubCode].AsNumber(); |
| 60 | set => this.Set((int)IIsWebErrorTupleFields.SubCode, value); | 60 | set => this.Set((int)IIsWebErrorSymbolFields.SubCode, value); |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | public int ParentType | 63 | public int ParentType |
| 64 | { | 64 | { |
| 65 | get => this.Fields[(int)IIsWebErrorTupleFields.ParentType].AsNumber(); | 65 | get => this.Fields[(int)IIsWebErrorSymbolFields.ParentType].AsNumber(); |
| 66 | set => this.Set((int)IIsWebErrorTupleFields.ParentType, value); | 66 | set => this.Set((int)IIsWebErrorSymbolFields.ParentType, value); |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | public string ParentValue | 69 | public string ParentValue |
| 70 | { | 70 | { |
| 71 | get => this.Fields[(int)IIsWebErrorTupleFields.ParentValue].AsString(); | 71 | get => this.Fields[(int)IIsWebErrorSymbolFields.ParentValue].AsString(); |
| 72 | set => this.Set((int)IIsWebErrorTupleFields.ParentValue, value); | 72 | set => this.Set((int)IIsWebErrorSymbolFields.ParentValue, value); |
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | public string File | 75 | public string File |
| 76 | { | 76 | { |
| 77 | get => this.Fields[(int)IIsWebErrorTupleFields.File].AsString(); | 77 | get => this.Fields[(int)IIsWebErrorSymbolFields.File].AsString(); |
| 78 | set => this.Set((int)IIsWebErrorTupleFields.File, value); | 78 | set => this.Set((int)IIsWebErrorSymbolFields.File, value); |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | public string URL | 81 | public string URL |
| 82 | { | 82 | { |
| 83 | get => this.Fields[(int)IIsWebErrorTupleFields.URL].AsString(); | 83 | get => this.Fields[(int)IIsWebErrorSymbolFields.URL].AsString(); |
| 84 | set => this.Set((int)IIsWebErrorTupleFields.URL, value); | 84 | set => this.Set((int)IIsWebErrorSymbolFields.URL, value); |
| 85 | } | 85 | } |
| 86 | } | 86 | } |
| 87 | } \ No newline at end of file | 87 | } \ No newline at end of file |
