diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-05-16 12:18:36 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-05-23 15:43:40 -0700 |
| commit | 505fe69d85c90184cd37290ccb0120fec6074c20 (patch) | |
| tree | 685314724a00232c2cad02e73c88214bee25df4f /src/WixToolset.Data/Tuples/ClassTuple.cs | |
| parent | ac1400ac5502db2f975e94dc803c155fd6a0a0e0 (diff) | |
| download | wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.gz wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.bz2 wix-505fe69d85c90184cd37290ccb0120fec6074c20.zip | |
Remove redundant `?.Value` from strongly typed accesses
Diffstat (limited to 'src/WixToolset.Data/Tuples/ClassTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/ClassTuple.cs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/WixToolset.Data/Tuples/ClassTuple.cs b/src/WixToolset.Data/Tuples/ClassTuple.cs index 17212a5e..f6ae4a4c 100644 --- a/src/WixToolset.Data/Tuples/ClassTuple.cs +++ b/src/WixToolset.Data/Tuples/ClassTuple.cs | |||
| @@ -61,73 +61,73 @@ namespace WixToolset.Data.Tuples | |||
| 61 | 61 | ||
| 62 | public string CLSID | 62 | public string CLSID |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ClassTupleFields.CLSID]?.Value; | 64 | get => (string)this.Fields[(int)ClassTupleFields.CLSID]; |
| 65 | set => this.Set((int)ClassTupleFields.CLSID, value); | 65 | set => this.Set((int)ClassTupleFields.CLSID, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string Context | 68 | public string Context |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)ClassTupleFields.Context]?.Value; | 70 | get => (string)this.Fields[(int)ClassTupleFields.Context]; |
| 71 | set => this.Set((int)ClassTupleFields.Context, value); | 71 | set => this.Set((int)ClassTupleFields.Context, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public string Component_ | 74 | public string Component_ |
| 75 | { | 75 | { |
| 76 | get => (string)this.Fields[(int)ClassTupleFields.Component_]?.Value; | 76 | get => (string)this.Fields[(int)ClassTupleFields.Component_]; |
| 77 | set => this.Set((int)ClassTupleFields.Component_, value); | 77 | set => this.Set((int)ClassTupleFields.Component_, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public string ProgId_Default | 80 | public string ProgId_Default |
| 81 | { | 81 | { |
| 82 | get => (string)this.Fields[(int)ClassTupleFields.ProgId_Default]?.Value; | 82 | get => (string)this.Fields[(int)ClassTupleFields.ProgId_Default]; |
| 83 | set => this.Set((int)ClassTupleFields.ProgId_Default, value); | 83 | set => this.Set((int)ClassTupleFields.ProgId_Default, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public string Description | 86 | public string Description |
| 87 | { | 87 | { |
| 88 | get => (string)this.Fields[(int)ClassTupleFields.Description]?.Value; | 88 | get => (string)this.Fields[(int)ClassTupleFields.Description]; |
| 89 | set => this.Set((int)ClassTupleFields.Description, value); | 89 | set => this.Set((int)ClassTupleFields.Description, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public string AppId_ | 92 | public string AppId_ |
| 93 | { | 93 | { |
| 94 | get => (string)this.Fields[(int)ClassTupleFields.AppId_]?.Value; | 94 | get => (string)this.Fields[(int)ClassTupleFields.AppId_]; |
| 95 | set => this.Set((int)ClassTupleFields.AppId_, value); | 95 | set => this.Set((int)ClassTupleFields.AppId_, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public string FileTypeMask | 98 | public string FileTypeMask |
| 99 | { | 99 | { |
| 100 | get => (string)this.Fields[(int)ClassTupleFields.FileTypeMask]?.Value; | 100 | get => (string)this.Fields[(int)ClassTupleFields.FileTypeMask]; |
| 101 | set => this.Set((int)ClassTupleFields.FileTypeMask, value); | 101 | set => this.Set((int)ClassTupleFields.FileTypeMask, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public string Icon_ | 104 | public string Icon_ |
| 105 | { | 105 | { |
| 106 | get => (string)this.Fields[(int)ClassTupleFields.Icon_]?.Value; | 106 | get => (string)this.Fields[(int)ClassTupleFields.Icon_]; |
| 107 | set => this.Set((int)ClassTupleFields.Icon_, value); | 107 | set => this.Set((int)ClassTupleFields.Icon_, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public int IconIndex | 110 | public int IconIndex |
| 111 | { | 111 | { |
| 112 | get => (int)this.Fields[(int)ClassTupleFields.IconIndex]?.Value; | 112 | get => (int)this.Fields[(int)ClassTupleFields.IconIndex]; |
| 113 | set => this.Set((int)ClassTupleFields.IconIndex, value); | 113 | set => this.Set((int)ClassTupleFields.IconIndex, value); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | public string DefInprocHandler | 116 | public string DefInprocHandler |
| 117 | { | 117 | { |
| 118 | get => (string)this.Fields[(int)ClassTupleFields.DefInprocHandler]?.Value; | 118 | get => (string)this.Fields[(int)ClassTupleFields.DefInprocHandler]; |
| 119 | set => this.Set((int)ClassTupleFields.DefInprocHandler, value); | 119 | set => this.Set((int)ClassTupleFields.DefInprocHandler, value); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | public string Argument | 122 | public string Argument |
| 123 | { | 123 | { |
| 124 | get => (string)this.Fields[(int)ClassTupleFields.Argument]?.Value; | 124 | get => (string)this.Fields[(int)ClassTupleFields.Argument]; |
| 125 | set => this.Set((int)ClassTupleFields.Argument, value); | 125 | set => this.Set((int)ClassTupleFields.Argument, value); |
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | public string Feature_ | 128 | public string Feature_ |
| 129 | { | 129 | { |
| 130 | get => (string)this.Fields[(int)ClassTupleFields.Feature_]?.Value; | 130 | get => (string)this.Fields[(int)ClassTupleFields.Feature_]; |
| 131 | set => this.Set((int)ClassTupleFields.Feature_, value); | 131 | set => this.Set((int)ClassTupleFields.Feature_, value); |
| 132 | } | 132 | } |
| 133 | 133 | ||
