diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-06-12 12:51:28 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-06-13 09:22:27 -0700 |
| commit | 167d26d002b1412e72d96ed2bbc0761fc0f1344b (patch) | |
| tree | 184212c1e347c6c876f629ca3b3e86445e877204 /src/WixToolset.Core.WindowsInstaller/Bind/UpdateFileFacadesCommand.cs | |
| parent | 86b7ea7a411813e03a2b238ca5c24fcebc947209 (diff) | |
| download | wix-167d26d002b1412e72d96ed2bbc0761fc0f1344b.tar.gz wix-167d26d002b1412e72d96ed2bbc0761fc0f1344b.tar.bz2 wix-167d26d002b1412e72d96ed2bbc0761fc0f1344b.zip | |
Normalize commands to use constructors
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/UpdateFileFacadesCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/UpdateFileFacadesCommand.cs | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/UpdateFileFacadesCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/UpdateFileFacadesCommand.cs index 63a8b3d9..75bcfe17 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/UpdateFileFacadesCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/UpdateFileFacadesCommand.cs | |||
| @@ -19,23 +19,27 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 19 | /// </summary> | 19 | /// </summary> |
| 20 | internal class UpdateFileFacadesCommand | 20 | internal class UpdateFileFacadesCommand |
| 21 | { | 21 | { |
| 22 | public UpdateFileFacadesCommand(IMessaging messaging, IntermediateSection section) | 22 | public UpdateFileFacadesCommand(IMessaging messaging, IntermediateSection section, IEnumerable<FileFacade> fileFacades, IEnumerable<FileFacade> updateFileFacades, IDictionary<string, string> variableCache, bool overwriteHash) |
| 23 | { | 23 | { |
| 24 | this.Messaging = messaging; | 24 | this.Messaging = messaging; |
| 25 | this.Section = section; | 25 | this.Section = section; |
| 26 | this.FileFacades = fileFacades; | ||
| 27 | this.UpdateFileFacades = updateFileFacades; | ||
| 28 | this.VariableCache = variableCache; | ||
| 29 | this.OverwriteHash = overwriteHash; | ||
| 26 | } | 30 | } |
| 27 | 31 | ||
| 28 | private IMessaging Messaging { get; } | 32 | private IMessaging Messaging { get; } |
| 29 | 33 | ||
| 30 | private IntermediateSection Section { get; } | 34 | private IntermediateSection Section { get; } |
| 31 | 35 | ||
| 32 | public IEnumerable<FileFacade> FileFacades { private get; set; } | 36 | private IEnumerable<FileFacade> FileFacades { get; } |
| 33 | 37 | ||
| 34 | public IEnumerable<FileFacade> UpdateFileFacades { private get; set; } | 38 | private IEnumerable<FileFacade> UpdateFileFacades { get; } |
| 35 | 39 | ||
| 36 | public bool OverwriteHash { private get; set; } | 40 | private bool OverwriteHash { get; } |
| 37 | 41 | ||
| 38 | public IDictionary<string, string> VariableCache { private get; set; } | 42 | private IDictionary<string, string> VariableCache { get; } |
| 39 | 43 | ||
| 40 | public void Execute() | 44 | public void Execute() |
| 41 | { | 45 | { |
