示例#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));
 }
示例#2
0
 public ExceptionLoggingInstallerStep([NotNull] IInstallerStep innerStep)
 {
     m_InnerStep = innerStep ?? throw new ArgumentNullException(nameof(innerStep));
 }
示例#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);
 }