Free cookie consent management tool by TermsFeed Policy Generator

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

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

Location:
trunk/sources/HeuristicLab.Persistence/3.3/Auxiliary
Files:
2 edited

Legend:

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

    r3004 r3036  
    2020          "Cannot load type \"{0}\", falling back to partial name", typeNameString));
    2121        try {
    22           TypeName typeName = TypeNameParser.Parse(typeNameString);
    23           Assembly a = Assembly.LoadWithPartialName(typeName.AssemblyName);
     22          TypeName typeName = TypeNameParser.Parse(typeNameString);             
     23#pragma warning disable 0618
     24          Assembly a = Assembly.LoadWithPartialName(typeName.AssemblyName);         
     25          // the suggested Assembly.Load() method fails to load assemblies outside the GAC
     26#pragma warning restore 0618
    2427          type = a.GetType(typeName.ToString(false, false), true);
    2528        } catch (Exception) {
  • trunk/sources/HeuristicLab.Persistence/3.3/Auxiliary/TypeName.cs

    r3017 r3036  
    3636    [Storable]
    3737    public List<TypeName> GenericArgs { get; internal set; }
     38
     39    /// <summary>
     40    /// Gets a value indicating whether this instance is generic.
     41    /// </summary>
     42    /// <value>
     43    ///   <c>true</c> if this instance is generic; otherwise, <c>false</c>.
     44    /// </value>
    3845    public bool IsGeneric { get { return GenericArgs.Count > 0; } }
    3946
     
    8794    /// Returns a <see cref="System.String"/> that represents this instance.
    8895    /// </summary>
    89     /// <param name="full">if set to <c>true</c> includes full informatoin
     96    /// <param name="full">if set to <c>true</c> includes full information
    9097    /// about generic parameters and assembly properties.</param>
    9198    /// <returns>
     
    100107    /// Returns a <see cref="System.String"/> that represents this instance.
    101108    /// </summary>
     109    /// <param name="full">if set to <c>true</c> includes full information
     110    /// about generic parameters and assembly properties.</param>
    102111    /// <param name="includeAssembly">if set to <c>true</c> include assembly properties and generic parameters.</param>
    103112    /// <returns>
Note: See TracChangeset for help on using the changeset viewer.