Changeset 923


Ignore:
Timestamp:
4/29/2009 9:53:38 AM (5 years ago)
Author:
lowjoel
Message:

The sessions thing is a Dictionary. Name it so.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Manager/Logger.cs

    r920 r923  
    7272        protected Logger(SerializationInfo info, StreamingContext context) 
    7373        { 
    74             Entries = (LogSessionCollection)info.GetValue("Entries", typeof(LogSessionCollection)); 
     74            Entries = (LogSessionDictionary)info.GetValue("Entries", typeof(LogSessionDictionary)); 
    7575            foreach (DateTime key in Entries.Keys) 
    7676                lastSession = key; 
     
    8989        public Logger() 
    9090        { 
    91             Entries = new LogSessionCollection(this); 
     91            Entries = new LogSessionDictionary(this); 
    9292        } 
    9393 
     
    118118        /// Retrieves the log for this task. 
    119119        /// </summary> 
    120         public LogSessionCollection Entries { get; private set; } 
     120        public LogSessionDictionary Entries { get; private set; } 
    121121 
    122122        /// <summary> 
     
    167167    } 
    168168 
    169     public class LogSessionCollection : IDictionary<DateTime, LogEntryCollection> 
     169    public class LogSessionDictionary : IDictionary<DateTime, LogEntryCollection> 
    170170    { 
    171171        /// <summary> 
     
    173173        /// </summary> 
    174174        /// <param name="logger">The logger object managing the logging.</param> 
    175         public LogSessionCollection(Logger logger) 
     175        public LogSessionDictionary(Logger logger) 
    176176        { 
    177177            owner = logger; 
Note: See TracChangeset for help on using the changeset viewer.