Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/13/12 11:49:29 (12 years ago)
Author:
ascheibe
Message:

#1952 (#1937) added Mono support to persistence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Auxiliary/TypeName.cs

    r7259 r8641  
    4141    /// <value>The namespace.</value>
    4242    [Storable]
    43     public string Namespace { get; private set; }
     43    #region Mono Compatibility
     44    // mono: setting the namespace is needed for generating ObjectEqualityComparer type names in the TypeLoader
     45    public string Namespace { get; internal set; }
     46    #endregion
    4447
    4548    /// <summary>
     
    4851    /// <value>The name of the class.</value>
    4952    [Storable]
    50     public string ClassName { get; private set; }
     53    #region Mono Compatibility
     54    public string ClassName { get; internal set; }
     55    #endregion
    5156
    5257    /// <summary>
     
    235240        }
    236241        return false;
    237       } catch (KeyNotFoundException) {
     242      }
     243      catch (KeyNotFoundException) {
    238244        throw new Exception("Could not extract version information from type string");
    239245      }
     
    272278        }
    273279        return true;
    274       } catch (KeyNotFoundException) {
     280      }
     281      catch (KeyNotFoundException) {
    275282        throw new Exception("Could not extract version infomration from type string");
    276283      }
Note: See TracChangeset for help on using the changeset viewer.