internal override void Serialize(FRWriter writer, string prefix, FormatBase format) { base.Serialize(writer, prefix, format); CustomFormat c = format as CustomFormat; if (c == null || Format != c.Format) { writer.WriteStr(prefix + "Format", Format); } }
/// <inheritdoc/> public override bool Equals(object obj) { CustomFormat f = obj as CustomFormat; return(f != null && Format == f.Format); }