aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Decompiler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Decompiler.cs')
-rw-r--r--src/WixToolset.Core/Decompiler.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/WixToolset.Core/Decompiler.cs b/src/WixToolset.Core/Decompiler.cs
index 45cfbea0..685722a8 100644
--- a/src/WixToolset.Core/Decompiler.cs
+++ b/src/WixToolset.Core/Decompiler.cs
@@ -19,7 +19,7 @@ namespace WixToolset.Core
19 19
20 public IServiceProvider ServiceProvider { get; } 20 public IServiceProvider ServiceProvider { get; }
21 21
22 public BindResult Decompile(IDecompileContext context) 22 public DecompileResult Decompile(IDecompileContext context)
23 { 23 {
24 // Pre-decompile. 24 // Pre-decompile.
25 // 25 //
@@ -30,22 +30,22 @@ namespace WixToolset.Core
30 30
31 // Decompile. 31 // Decompile.
32 // 32 //
33 var bindResult = this.BackendDecompile(context); 33 var result = this.BackendDecompile(context);
34 34
35 if (bindResult != null) 35 if (result != null)
36 { 36 {
37 // Post-decompile. 37 // Post-decompile.
38 // 38 //
39 foreach (var extension in context.Extensions) 39 foreach (var extension in context.Extensions)
40 { 40 {
41 extension.PostDecompile(bindResult); 41 extension.PostDecompile(result);
42 } 42 }
43 } 43 }
44 44
45 return bindResult; 45 return result;
46 } 46 }
47 47
48 private BindResult BackendDecompile(IDecompileContext context) 48 private DecompileResult BackendDecompile(IDecompileContext context)
49 { 49 {
50 var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); 50 var extensionManager = context.ServiceProvider.GetService<IExtensionManager>();
51 51