9 |
|
{ |
10 |
|
public sealed class GenericConfig : ConfigPlugin |
11 |
|
{ |
12 |
< |
public GenericConfig() : base() { } |
12 |
> |
public GenericConfig() |
13 |
> |
: base() |
14 |
> |
{ |
15 |
> |
init(); |
16 |
> |
} |
17 |
|
|
18 |
|
private void init() |
19 |
|
{ |
16 |
– |
this.ValidProcessesForPlugin = new List<Process>(); |
17 |
– |
|
20 |
|
Process[] procs = Process.GetProcesses(); |
21 |
|
this.ValidProcessesForPlugin = new List<Process>(procs); |
22 |
+ |
Guid t = this.Id; |
23 |
|
} |
24 |
|
#region IPluginBase Members |
25 |
+ |
public override Guid Id |
26 |
+ |
{ |
27 |
+ |
get |
28 |
+ |
{ |
29 |
+ |
return new GuidGenerator(typeof(GenericConfig).FullName).Guid; |
30 |
+ |
} |
31 |
+ |
} |
32 |
|
public override string Name |
33 |
|
{ |
34 |
|
get { return "Generic Configuration Plugin"; } |