Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/15 17:08:43 (9 years ago)
Author:
gkronber
Message:

#2522: improvements to AboutDialog and PluginInformationDialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure/3.3/AssemblyExtensions.cs

    r13338 r13369  
    5252      return GetCustomAttributeValue<AssemblyFileVersionAttribute>(assembly, "Version");
    5353    }
     54    public static string GetCopyright(this Assembly assembly) {
     55      return GetCustomAttributeValue<AssemblyCopyrightAttribute>(assembly, "Copyright");
     56    }
     57
     58    public static string GetProduct(this Assembly assembly) {
     59      return GetCustomAttributeValue<AssemblyProductAttribute>(assembly, "Product");
     60    }
     61
    5462  }
    5563}
Note: See TracChangeset for help on using the changeset viewer.