Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/11/10 13:04:42 (14 years ago)
Author:
gkronber
Message:

Implemented ContactInformationAttribute. #868 (Attribute to declare contact information details for plugins)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/InstallationManager.cs

    r2763 r2778  
    7171      builder.Append("Version: ").AppendLine(desc.Version.ToString());
    7272      builder.AppendLine("Description:").AppendLine(desc.Description);
     73      if (!string.IsNullOrEmpty(desc.ContactName)) {
     74        builder.Append("Contact: ").Append(desc.ContactName).Append(", ").AppendLine(desc.ContactEmail);
     75      }
    7376      builder.AppendLine("This plugin is " + desc.PluginState.ToString().ToLowerInvariant() + ".");
    74       builder.Append("Build date: ").AppendLine(desc.BuildDate.ToString()).AppendLine();
     77      // builder.Append("Build date: ").AppendLine(desc.BuildDate.ToString()).AppendLine();
    7578      builder.AppendLine("Files: ");
    7679      foreach (var file in desc.Files) {
Note: See TracChangeset for help on using the changeset viewer.