/// <summary> /// Creates a string representation of all /// properties of the object. /// </summary> /// <returns>The exported function as a string.</returns> public override string ToString() { var sb = new StringBuilder("ExportFunction\n"); sb.Append(ExtensionMethods.PropertiesToString(this, "{0,-20}:\t{1,10:X}\n")); return(sb.ToString()); }
/// <summary> /// Return string representation of all characteristics. /// </summary> /// <returns>Return string representation of all characteristics.</returns> public override string ToString() { var sb = new StringBuilder("File Characteristics\n"); sb.Append(ExtensionMethods.PropertiesToString(this, "{0,-30}:{1,10:X}\n")); return(sb.ToString()); }
/// <summary> /// Convert all object properties to strings. /// </summary> /// <returns>String representation of the object</returns> public override string ToString() { var sb = new StringBuilder("Copyright\n"); sb.Append(ExtensionMethods.PropertiesToString(this, "{0,-10}:\t{1,10:X}\n")); return(sb.ToString()); }