Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/15/10 14:45:46 (14 years ago)
Author:
epitzer
Message:

make most serializers internal and complete API documentation (#548)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/FormatBase.cs

    r3017 r3036  
    66  /// <summary>
    77  /// Common base class for defining a new serialization format.
    8   /// </summary> 
     8  /// </summary>
     9  /// <typeparam name="SerialDataFormat">The type of the serial data format.</typeparam>
    910  [StorableClass]
    1011  public abstract class FormatBase<SerialDataFormat> : IFormat<SerialDataFormat> where SerialDataFormat : ISerialData {
     
    2324    /// <summary>
    2425    /// Compares formats by name.
    25     /// </summary>   
     26    /// </summary>
     27    /// <param name="f">The format.</param>
     28    /// <returns>wheter this object and f are equal by name.</returns>
    2629    public bool Equals(FormatBase<SerialDataFormat> f) {
    2730      if (f == null)
     
    3336    /// Compares foramts by name.
    3437    /// </summary>
     38    /// <param name="obj">The <see cref="System.Object"/> to compare with this instance.</param>
     39    /// <returns>
     40    ///   <c>true</c> if the specified <see cref="System.Object"/> is equal to this instance; otherwise, <c>false</c>.
     41    /// </returns>
     42    /// <exception cref="T:System.NullReferenceException">
     43    /// The <paramref name="obj"/> parameter is null.
     44    /// </exception>
    3545    public override bool Equals(object obj) {
    3646      FormatBase<SerialDataFormat> f = obj as FormatBase<SerialDataFormat>;
     
    3848    }
    3949
     50    /// <summary>
     51    /// Returns a hash code for this instance.
     52    /// </summary>
     53    /// <returns>
     54    /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
     55    /// </returns>
    4056    public override int GetHashCode() {
    4157      return Name.GetHashCode();
Note: See TracChangeset for help on using the changeset viewer.