/// <summary> /// Gets the password which has been entered into the password box. /// </summary> /// <param name="stringBuilder">A <see cref="StringBuilder"/> to populate with the password which has been entered into the password box.</param> public void GetPassword(StringBuilder stringBuilder) { Contract.Require(stringBuilder, nameof(stringBuilder)); if (PART_Editor != null) { PART_Editor.GetPassword(stringBuilder); } }
/// <summary> /// Gets the password which has been entered into the password box. /// </summary> /// <returns>A string containing the password which has been entered into the password box.</returns> public String GetPassword() { if (PART_Editor != null) { return(PART_Editor.GetPassword()); } return(String.Empty); }