Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/18/11 18:36:22 (13 years ago)
Author:
abeham
Message:

#1465

  • Updated branch with changes from the trunk
  • Updated Font2XmlSerializer according to Erik's suggestions
Location:
branches/histogram
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/histogram

  • branches/histogram/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginValidator.cs

    r5652 r6022  
    606606    // register assembly in the assembly cache for the ReflectionOnlyAssemblyResolveEvent
    607607    private void RegisterLoadedAssembly(Assembly asm) {
     608      if (reflectionOnlyAssemblies.ContainsKey(asm.FullName) || reflectionOnlyAssemblies.ContainsKey(asm.GetName().Name)) {
     609        throw new ArgumentException("An assembly with the name " + asm.GetName().Name + " has been registered already.", "asm");
     610      }
    608611      reflectionOnlyAssemblies.Add(asm.FullName, asm);
    609612      reflectionOnlyAssemblies.Add(asm.GetName().Name, asm); // add short name
Note: See TracChangeset for help on using the changeset viewer.