Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/24/09 17:04:02 (15 years ago)
Author:
epitzer
Message:

Incorporate settings infrastructure. (#506)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/New Persistence Exploration/Persistence/Persistence/Core/Configuration.cs

    r1401 r1406  
    11using System;
    2 using System.Collections;
    32using System.Collections.Generic;
    43using HeuristicLab.Persistence.Interfaces;
     
    87  public class Configuration {
    98
     9    [Storable]
    1010    private readonly Dictionary<Type, IFormatter> formatters;
     11    [Storable]
    1112    private readonly List<IDecomposer> decomposers;
    1213    private readonly Dictionary<Type, IDecomposer> decomposerCache;
     14    [Storable]
    1315    public readonly IFormat Format;
     16
     17    private Configuration() {}
    1418
    1519    public Configuration(Dictionary<Type, IFormatter> formatters, IEnumerable<IDecomposer> decomposers) {     
     
    2731    }
    2832
    29     public IEnumerable Formatters {
     33    public IEnumerable<IFormatter> Formatters {
    3034      get { return formatters.Values; }
    3135    }
Note: See TracChangeset for help on using the changeset viewer.