diff options
Diffstat (limited to 'src/WixToolset.Mba.Core/BootstrapperCommand.cs')
| -rw-r--r-- | src/WixToolset.Mba.Core/BootstrapperCommand.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/WixToolset.Mba.Core/BootstrapperCommand.cs b/src/WixToolset.Mba.Core/BootstrapperCommand.cs index 42d19bf9..65dde0f4 100644 --- a/src/WixToolset.Mba.Core/BootstrapperCommand.cs +++ b/src/WixToolset.Mba.Core/BootstrapperCommand.cs | |||
| @@ -6,10 +6,28 @@ namespace WixToolset.Mba.Core | |||
| 6 | using System.ComponentModel; | 6 | using System.ComponentModel; |
| 7 | using System.Runtime.InteropServices; | 7 | using System.Runtime.InteropServices; |
| 8 | 8 | ||
| 9 | /// <summary> | ||
| 10 | /// Default implementation of <see cref="IBootstrapperCommand"/>. | ||
| 11 | /// </summary> | ||
| 9 | public sealed class BootstrapperCommand : IBootstrapperCommand | 12 | public sealed class BootstrapperCommand : IBootstrapperCommand |
| 10 | { | 13 | { |
| 11 | private readonly string commandLine; | 14 | private readonly string commandLine; |
| 12 | 15 | ||
| 16 | /// <summary> | ||
| 17 | /// | ||
| 18 | /// </summary> | ||
| 19 | /// <param name="action"></param> | ||
| 20 | /// <param name="display"></param> | ||
| 21 | /// <param name="restart"></param> | ||
| 22 | /// <param name="commandLine"></param> | ||
| 23 | /// <param name="cmdShow"></param> | ||
| 24 | /// <param name="resume"></param> | ||
| 25 | /// <param name="splashScreen"></param> | ||
| 26 | /// <param name="relation"></param> | ||
| 27 | /// <param name="passthrough"></param> | ||
| 28 | /// <param name="layoutDirectory"></param> | ||
| 29 | /// <param name="bootstrapperWorkingFolder"></param> | ||
| 30 | /// <param name="bootstrapperApplicationDataPath"></param> | ||
| 13 | public BootstrapperCommand( | 31 | public BootstrapperCommand( |
| 14 | LaunchAction action, | 32 | LaunchAction action, |
| 15 | Display display, | 33 | Display display, |
| @@ -38,28 +56,40 @@ namespace WixToolset.Mba.Core | |||
| 38 | this.BootstrapperApplicationDataPath = bootstrapperApplicationDataPath; | 56 | this.BootstrapperApplicationDataPath = bootstrapperApplicationDataPath; |
| 39 | } | 57 | } |
| 40 | 58 | ||
| 59 | /// <inheritdoc/> | ||
| 41 | public LaunchAction Action { get; } | 60 | public LaunchAction Action { get; } |
| 42 | 61 | ||
| 62 | /// <inheritdoc/> | ||
| 43 | public Display Display { get; } | 63 | public Display Display { get; } |
| 44 | 64 | ||
| 65 | /// <inheritdoc/> | ||
| 45 | public Restart Restart { get; } | 66 | public Restart Restart { get; } |
| 46 | 67 | ||
| 68 | /// <inheritdoc/> | ||
| 47 | public string[] CommandLineArgs => GetCommandLineArgs(this.commandLine); | 69 | public string[] CommandLineArgs => GetCommandLineArgs(this.commandLine); |
| 48 | 70 | ||
| 71 | /// <inheritdoc/> | ||
| 49 | public int CmdShow { get; } | 72 | public int CmdShow { get; } |
| 50 | 73 | ||
| 74 | /// <inheritdoc/> | ||
| 51 | public ResumeType Resume { get; } | 75 | public ResumeType Resume { get; } |
| 52 | 76 | ||
| 77 | /// <inheritdoc/> | ||
| 53 | public IntPtr SplashScreen { get; } | 78 | public IntPtr SplashScreen { get; } |
| 54 | 79 | ||
| 80 | /// <inheritdoc/> | ||
| 55 | public RelationType Relation { get; } | 81 | public RelationType Relation { get; } |
| 56 | 82 | ||
| 83 | /// <inheritdoc/> | ||
| 57 | public bool Passthrough { get; } | 84 | public bool Passthrough { get; } |
| 58 | 85 | ||
| 86 | /// <inheritdoc/> | ||
| 59 | public string LayoutDirectory { get; } | 87 | public string LayoutDirectory { get; } |
| 60 | 88 | ||
| 89 | /// <inheritdoc/> | ||
| 61 | public string BootstrapperWorkingFolder { get; } | 90 | public string BootstrapperWorkingFolder { get; } |
| 62 | 91 | ||
| 92 | /// <inheritdoc/> | ||
| 63 | public string BootstrapperApplicationDataPath { get; } | 93 | public string BootstrapperApplicationDataPath { get; } |
| 64 | 94 | ||
| 65 | /// <summary> | 95 | /// <summary> |
