aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-08-01 03:11:58 -0700
committerRob Mensching <rob@firegiant.com>2018-08-01 03:11:58 -0700
commitb54516035b4ebbfbd8899b26de501bfa13f53e8b (patch)
tree6b48d5d6d01131a533a81066c00701898a6b28b2 /src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs
parent52005c7e6917f9866dd0b0de6993def16a72ed4b (diff)
downloadwix-b54516035b4ebbfbd8899b26de501bfa13f53e8b.tar.gz
wix-b54516035b4ebbfbd8899b26de501bfa13f53e8b.tar.bz2
wix-b54516035b4ebbfbd8899b26de501bfa13f53e8b.zip
Add CreateGuid() to IBackendHelper to make Uuid helper internal
Diffstat (limited to 'src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs')
-rw-r--r--src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs b/src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs
index 0e5c4b5b..0cda4437 100644
--- a/src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs
+++ b/src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs
@@ -36,6 +36,11 @@ namespace WixToolset.Core.ExtensibilityServices
36 }; 36 };
37 } 37 }
38 38
39 public string CreateGuid(Guid namespaceGuid, string value)
40 {
41 return Uuid.NewUuid(namespaceGuid, value).ToString("B").ToUpperInvariant();
42 }
43
39 private string GetValidatedFullPath(SourceLineNumber sourceLineNumbers, string path) 44 private string GetValidatedFullPath(SourceLineNumber sourceLineNumbers, string path)
40 { 45 {
41 try 46 try