using System; using System.Collections.Generic; using System.Text; namespace FastReport.Format { /// /// Represents a format used to display values with no formatting. /// public class GeneralFormat : FormatBase { #region Public Methods /// public override FormatBase Clone() { return new GeneralFormat(); } /// public override bool Equals(object obj) { GeneralFormat f = obj as GeneralFormat; return f != null; } /// public override int GetHashCode() { return base.GetHashCode(); } /// public override string FormatValue(object value) { if (value != null) return value.ToString(); return ""; } internal override string GetSampleValue() { return ""; } #endregion } }