diff options
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixGroupTuple.cs')
-rw-r--r-- | src/WixToolset.Data/Tuples/WixGroupTuple.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WixToolset.Data/Tuples/WixGroupTuple.cs b/src/WixToolset.Data/Tuples/WixGroupTuple.cs index be6bf7a4..f6487d55 100644 --- a/src/WixToolset.Data/Tuples/WixGroupTuple.cs +++ b/src/WixToolset.Data/Tuples/WixGroupTuple.cs | |||
@@ -45,25 +45,25 @@ namespace WixToolset.Data.Tuples | |||
45 | 45 | ||
46 | public string ParentId | 46 | public string ParentId |
47 | { | 47 | { |
48 | get => (string)this.Fields[(int)WixGroupTupleFields.ParentId]?.Value; | 48 | get => (string)this.Fields[(int)WixGroupTupleFields.ParentId]; |
49 | set => this.Set((int)WixGroupTupleFields.ParentId, value); | 49 | set => this.Set((int)WixGroupTupleFields.ParentId, value); |
50 | } | 50 | } |
51 | 51 | ||
52 | public ComplexReferenceParentType ParentType | 52 | public ComplexReferenceParentType ParentType |
53 | { | 53 | { |
54 | get => (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), (string)this.Fields[(int)WixGroupTupleFields.ParentType]?.Value, true); | 54 | get => (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), (string)this.Fields[(int)WixGroupTupleFields.ParentType], true); |
55 | set => this.Set((int)WixGroupTupleFields.ParentType, value.ToString()); | 55 | set => this.Set((int)WixGroupTupleFields.ParentType, value.ToString()); |
56 | } | 56 | } |
57 | 57 | ||
58 | public string ChildId | 58 | public string ChildId |
59 | { | 59 | { |
60 | get => (string)this.Fields[(int)WixGroupTupleFields.ChildId]?.Value; | 60 | get => (string)this.Fields[(int)WixGroupTupleFields.ChildId]; |
61 | set => this.Set((int)WixGroupTupleFields.ChildId, value); | 61 | set => this.Set((int)WixGroupTupleFields.ChildId, value); |
62 | } | 62 | } |
63 | 63 | ||
64 | public ComplexReferenceChildType ChildType | 64 | public ComplexReferenceChildType ChildType |
65 | { | 65 | { |
66 | get => (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), (string)this.Fields[(int)WixGroupTupleFields.ChildType]?.Value, true); | 66 | get => (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), (string)this.Fields[(int)WixGroupTupleFields.ChildType], true); |
67 | set => this.Set((int)WixGroupTupleFields.ChildType, value.ToString()); | 67 | set => this.Set((int)WixGroupTupleFields.ChildType, value.ToString()); |
68 | } | 68 | } |
69 | } | 69 | } |