From 523c66a62a619e6aa9f30070173ea33edfb5e328 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sun, 29 Dec 2024 18:01:20 -0800 Subject: Rename "bundle id" concept to "bundle code" The "bundle id" always had more in common with the PackageCode from the Windows Installer. With the introduction of an actual Id attribute on the Bundle element, there is potential for confusion, so there is finally real motivation to rename "bundle id" to "bundle code". --- .../Symbols/ForTestingUseOnlyBundleSymbol.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/test/burn/ForTestingUseOnlyExtension/Symbols/ForTestingUseOnlyBundleSymbol.cs') diff --git a/src/test/burn/ForTestingUseOnlyExtension/Symbols/ForTestingUseOnlyBundleSymbol.cs b/src/test/burn/ForTestingUseOnlyExtension/Symbols/ForTestingUseOnlyBundleSymbol.cs index a17dfe31..6cf9dabb 100644 --- a/src/test/burn/ForTestingUseOnlyExtension/Symbols/ForTestingUseOnlyBundleSymbol.cs +++ b/src/test/burn/ForTestingUseOnlyExtension/Symbols/ForTestingUseOnlyBundleSymbol.cs @@ -11,7 +11,7 @@ namespace ForTestingUseOnly ForTestingUseOnlySymbolDefinitionType.ForTestingUseOnlyBundle.ToString(), new[] { - new IntermediateFieldDefinition(nameof(ForTestingUseOnlyBundleSymbolFields.BundleId), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ForTestingUseOnlyBundleSymbolFields.BundleCode), IntermediateFieldType.String), }, typeof(ForTestingUseOnlyBundleSymbol)); } @@ -23,7 +23,7 @@ namespace ForTestingUseOnly.Symbols public enum ForTestingUseOnlyBundleSymbolFields { - BundleId, + BundleCode, } public class ForTestingUseOnlyBundleSymbol : IntermediateSymbol @@ -38,10 +38,10 @@ namespace ForTestingUseOnly.Symbols public IntermediateField this[ForTestingUseOnlyBundleSymbolFields index] => this.Fields[(int)index]; - public string BundleId + public string BundleCode { - get => this.Fields[(int)ForTestingUseOnlyBundleSymbolFields.BundleId].AsString(); - set => this.Set((int)ForTestingUseOnlyBundleSymbolFields.BundleId, value); + get => this.Fields[(int)ForTestingUseOnlyBundleSymbolFields.BundleCode].AsString(); + set => this.Set((int)ForTestingUseOnlyBundleSymbolFields.BundleCode, value); } } } -- cgit v1.2.3-55-g6feb