ToString() public method

Returns the WiX Condition as a string.
public ToString ( ) : string
return string
Esempio n. 1
0
 /// <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;
 }
Esempio n. 2
0
 /// <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();
 }