Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HL-3.2-MonoMigration/HeuristicLab.PluginInfrastructure/ApplicationInfo.cs @ 4075

Last change on this file since 4075 was 638, checked in by gkronber, 16 years ago

created a branch for changes needed to run HL3 on Mono 2.0
(ticket #298)

File size: 2.2 KB
RevLine 
[2]1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System;
23using System.Collections.Generic;
24using System.Text;
[638]25using System.Runtime.Serialization;
[2]26
27namespace HeuristicLab.PluginInfrastructure {
28  [Serializable]
29  public class ApplicationInfo {
30    private string name;
31
32    public string Name {
33      get { return name; }
34      set { name = value; }
35    }
36    private Version version;
37
38    public Version Version {
39      get { return version; }
40      set { version = value; }
41    }
42    private string description;
43
44    public string Description {
45      get { return description; }
46      set { description = value; }
47    }
48
[242]49    private bool autoRestart;
50    public bool AutoRestart {
51      get { return autoRestart; }
52      set { autoRestart = value; }
53    }
54
[2]55    private string pluginAssembly;
56    /// <summary>
57    /// Name of the assembly that contains the IApplication type.
58    /// </summary>
59    public string PluginAssembly {
60      get { return pluginAssembly; }
61      set { pluginAssembly = value; }
62    }
63
64    private string pluginType;
65    /// <summary>
66    /// Name of the type that implements the interface IApplication.
67    /// </summary>
68    public string PluginType {
69      get { return pluginType; }
70      set { pluginType = value; }
71    }
[638]72
73    public override string ToString() {
74      return Name + " " + Version + " " + Description + " " + pluginAssembly + " " + pluginType;
75    }
[2]76  }
77}
Note: See TracBrowser for help on using the repository browser.