From b36433623fcac28cf620868430d49bc36fca2963 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 22 May 2019 14:45:33 -0700 Subject: Use "Ref" instead of "_" as the reference convention --- src/WixToolset.Data/Tuples/CreateFolderTuple.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/WixToolset.Data/Tuples/CreateFolderTuple.cs') diff --git a/src/WixToolset.Data/Tuples/CreateFolderTuple.cs b/src/WixToolset.Data/Tuples/CreateFolderTuple.cs index 585f274c..d9d4763e 100644 --- a/src/WixToolset.Data/Tuples/CreateFolderTuple.cs +++ b/src/WixToolset.Data/Tuples/CreateFolderTuple.cs @@ -10,8 +10,8 @@ namespace WixToolset.Data TupleDefinitionType.CreateFolder, new[] { - new IntermediateFieldDefinition(nameof(CreateFolderTupleFields.Directory_), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(CreateFolderTupleFields.Component_), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(CreateFolderTupleFields.DirectoryRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(CreateFolderTupleFields.ComponentRef), IntermediateFieldType.String), }, typeof(CreateFolderTuple)); } @@ -21,8 +21,8 @@ namespace WixToolset.Data.Tuples { public enum CreateFolderTupleFields { - Directory_, - Component_, + DirectoryRef, + ComponentRef, } public class CreateFolderTuple : IntermediateTuple @@ -37,16 +37,16 @@ namespace WixToolset.Data.Tuples public IntermediateField this[CreateFolderTupleFields index] => this.Fields[(int)index]; - public string Directory_ + public string DirectoryRef { - get => (string)this.Fields[(int)CreateFolderTupleFields.Directory_]; - set => this.Set((int)CreateFolderTupleFields.Directory_, value); + get => (string)this.Fields[(int)CreateFolderTupleFields.DirectoryRef]; + set => this.Set((int)CreateFolderTupleFields.DirectoryRef, value); } - public string Component_ + public string ComponentRef { - get => (string)this.Fields[(int)CreateFolderTupleFields.Component_]; - set => this.Set((int)CreateFolderTupleFields.Component_, value); + get => (string)this.Fields[(int)CreateFolderTupleFields.ComponentRef]; + set => this.Set((int)CreateFolderTupleFields.ComponentRef, value); } } } \ No newline at end of file -- cgit v1.2.3-55-g6feb