Condition
/// <summary> /// Initializes a new instance of the <see cref="SpawnDialog"/> class. /// </summary> /// <param name="dialogName">Name of the dialog.</param> /// <param name="condition">The condition.</param> public SpawnDialog(string dialogName, Condition condition) { this.Name = ControlAction.SpawnDialog; this.Condition = condition.ToString(); this.Value = dialogName; }
/// <summary> /// Initializes a new instance of the <see cref="T:WixSharp.CloseDialog"/> class. /// </summary> /// <param name="returnValue">The return value.</param> /// <param name="condition">The condition.</param> public CloseDialog(string returnValue, Condition condition) { this.Value = returnValue; this.Name = ControlAction.EndDialog.ToString(); this.Condition = condition.ToString(); }