Ejemplo n.º 1
0
 public ExceptionCallbackInstallerStep(IInstallerStep innerStep, Action <Exception> onException)
 {
     m_InnerStep   = innerStep ?? throw new ArgumentNullException(nameof(innerStep));
     m_OnException = onException ?? throw new ArgumentNullException(nameof(onException));
 }
Ejemplo n.º 2
0
 public ExceptionLoggingInstallerStep([NotNull] IInstallerStep innerStep)
 {
     m_InnerStep = innerStep ?? throw new ArgumentNullException(nameof(innerStep));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Adds the specified step to the installer
 /// </summary>
 public InstallerBuilder AddCustomStep(IInstallerStep step)
 {
     m_Steps.AddLast(step ?? throw new ArgumentNullException(nameof(step)));
     return(this);
 }