/// <summary> /// Returns a string representation of the current state of this object. /// </summary> /// <returns>A String that displays the command line arguments and restrictions for restarting the application.</returns> public override string ToString() { return(String.Format("Command: {0} Restrictions: {1}", command, restrictions.ToString())); }
/// <summary> /// Returns a string representation of the current state /// of this object. /// </summary> /// <returns>A <see cref="System.String"/> that displays /// the command line arguments /// and restrictions for restarting the application.</returns> public override string ToString() { return(string.Format(System.Globalization.CultureInfo.InvariantCulture, LocalizedMessages.RestartSettingsFormatString, command, restrictions.ToString())); }
/// <summary>Returns a string representation of the current state of this object.</summary> /// <returns>A <see cref="string" /> that displays the command line arguments and restrictions for restarting the application.</returns> public override string ToString() { return(string.Format( CultureInfo.InvariantCulture, Resources.RestartSettingsFormatString, command, restrictions.ToString())); }