Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/14/10 00:42:28 (15 years ago)
Author:
epitzer
Message:

Update API docs. (#548)

Location:
trunk/sources/HeuristicLab.Persistence/3.3/Core/Tokens
Files:
10 edited

Legend:

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

    r3004 r3016  
    88  /// </summary>
    99  public class BeginToken : CompositeTokenBase {
     10
     11    /// <summary>
     12    /// Initializes a new instance of the <see cref="BeginToken"/> class.
     13    /// </summary>
     14    /// <param name="name">The token name.</param>
     15    /// <param name="typeId">The type id.</param>
     16    /// <param name="id">The object id.</param>
    1017    public BeginToken(string name, int typeId, int? id) : base(name, typeId, id) { }
    1118  }
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Tokens/CompositeTokenBase.cs

    r3004 r3016  
    33
    44  /// <summary>
    5   /// Common base class of <code>BeginToken</code> and <code>EndToken</code>
     5  /// Common base class of <c>BeginToken</c> and <c>EndToken</c>
    66  /// that surround a composite element.
    77  /// </summary>
    88  public abstract class CompositeTokenBase : SerializationTokenBase {
     9
     10    /// <summary>
     11    /// The type's id.
     12    /// </summary>
    913    public readonly int TypeId;
     14
     15
     16    /// <summary>
     17    /// The object's id for references in case it is a reference type.
     18    /// </summary>
    1019    public readonly int? Id;
     20
     21    /// <summary>
     22    /// Initializes a new instance of the <see cref="CompositeTokenBase"/> class.
     23    /// </summary>
     24    /// <param name="name">The name.</param>
     25    /// <param name="typeId">The type id.</param>
     26    /// <param name="id">The object id.</param>
    1127    public CompositeTokenBase(string name, int typeId, int? id)
    1228      : base(name) {
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Tokens/EndToken.cs

    r3004 r3016  
    77  /// </summary>
    88  public class EndToken : CompositeTokenBase {
     9
     10    /// <summary>
     11    /// Initializes a new instance of the <see cref="EndToken"/> class.
     12    /// </summary>
     13    /// <param name="name">The name.</param>
     14    /// <param name="typeId">The type id.</param>
     15    /// <param name="id">The object id.</param>
    916    public EndToken(string name, int typeId, int? id) : base(name, typeId, id) { }
    1017  }
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Tokens/MetaInfoBeginToken.cs

    r3004 r3016  
    22
    33namespace HeuristicLab.Persistence.Core.Tokens {
    4  
     4
     5  /// <summary>
     6  /// Start of meta information.
     7  /// </summary>
    58  public class MetaInfoBeginToken : ISerializationToken { }
    69
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Tokens/MetaInfoEndToken.cs

    r1566 r3016  
    33namespace HeuristicLab.Persistence.Core.Tokens {
    44
     5  /// <summary>
     6  /// End of meta info.
     7  /// </summary>
    58  public class MetaInfoEndToken : ISerializationToken { }
    69
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Tokens/NulLReferenceToken.cs

    r3004 r3016  
    22
    33namespace HeuristicLab.Persistence.Core.Tokens {
    4  
     4
     5  /// <summary>
     6  /// Describes a reference to <c>null</c>.
     7  /// </summary>
    58  public class NullReferenceToken : SerializationTokenBase {
     9
     10    /// <summary>
     11    /// Initializes a new instance of the <see cref="NullReferenceToken"/> class.
     12    /// </summary>
     13    /// <param name="name">The token name.</param>
    614    public NullReferenceToken(string name) : base(name) { }
    715  }
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Tokens/PrimitiveToken.cs

    r3004 r3016  
    77  /// </summary>
    88  public class PrimitiveToken : SerializationTokenBase {
     9
     10    /// <summary>
     11    /// The type's id.
     12    /// </summary>
    913    public readonly int TypeId;
     14
     15    /// <summary>
     16    /// The object's id.
     17    /// </summary>
    1018    public readonly int? Id;
     19
     20    /// <summary>
     21    /// The serialized data.
     22    /// </summary>
    1123    public readonly ISerialData SerialData;
     24
     25    /// <summary>
     26    /// Initializes a new instance of the <see cref="PrimitiveToken"/> class.
     27    /// </summary>
     28    /// <param name="name">The name.</param>
     29    /// <param name="typeId">The type's id.</param>
     30    /// <param name="id">The onbject's id.</param>
     31    /// <param name="serialData">The serialized data.</param>
    1232    public PrimitiveToken(string name, int typeId, int? id, ISerialData serialData)
    1333      : base(name) {
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Tokens/ReferenceToken.cs

    r3004 r3016  
    88  /// </summary>
    99  public class ReferenceToken : SerializationTokenBase {
     10    /// <summary>
     11    /// The refereced object's id.
     12    /// </summary>
    1013    public readonly int Id;
     14
     15    /// <summary>
     16    /// Initializes a new instance of the <see cref="ReferenceToken"/> class.
     17    /// </summary>
     18    /// <param name="name">The name.</param>
     19    /// <param name="id">The referenced object's id.</param>
    1120    public ReferenceToken(string name, int id)
    1221      : base(name) {
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Tokens/SerializationTokenBase.cs

    r3004 r3016  
    44
    55namespace HeuristicLab.Persistence.Core.Tokens {
    6  
     6
     7  /// <summary>
     8  /// Common base class for all serialization tokens.
     9  /// </summary>
    710  public abstract class SerializationTokenBase : ISerializationToken {
     11
     12    /// <summary>
     13    /// The token's name.
     14    /// </summary>
    815    public readonly string Name;
     16
     17    /// <summary>
     18    /// Initializes a new instance of the <see cref="SerializationTokenBase"/> class.
     19    /// </summary>
     20    /// <param name="name">The token name.</param>
    921    public SerializationTokenBase(string name) {
    1022      Name = name;
    1123    }
     24
     25    /// <summary>
     26    /// Returns a <see cref="System.String"/> that represents this instance.
     27    /// </summary>
     28    /// <returns>
     29    /// A <see cref="System.String"/> that represents this instance.
     30    /// </returns>
    1231    public override string ToString() {
    1332      StringBuilder sb = new StringBuilder();
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Tokens/TypeToken.cs

    r3005 r3016  
    77namespace HeuristicLab.Persistence.Core.Tokens {
    88
     9  /// <summary>
     10  /// A token containing type information and mapping.
     11  /// </summary>
    912  public class TypeToken : ISerializationToken {
     13
     14    /// <summary>
     15    /// The type id.
     16    /// </summary>
    1017    public readonly int Id;
     18
     19    /// <summary>
     20    /// The type's full name.
     21    /// </summary>
    1122    public readonly string TypeName;
     23
     24    /// <summary>
     25    /// The full type name of the serialized used to
     26    /// serialize the type.
     27    /// </summary>
    1228    public readonly string Serializer;
    1329
     30    /// <summary>
     31    /// Initializes a new instance of the <see cref="TypeToken"/> class.
     32    /// </summary>
     33    /// <param name="id">The type id.</param>
     34    /// <param name="typeName">Full name of the type.</param>
     35    /// <param name="serializer">The full name of the serializer
     36    /// used to serialize the type.</param>
    1437    public TypeToken(int id, string typeName, string serializer) {
    1538      Id = id;
Note: See TracChangeset for help on using the changeset viewer.