48 |
|
string ToString(); |
49 |
|
} |
50 |
|
#endregion |
51 |
< |
#region AcceptsPlugin |
51 |
> |
#region AcceptsPlugin |
52 |
|
public interface IAcceptsPlugin<TPlugin> |
53 |
|
where TPlugin : IPluginBase |
54 |
|
{ |
55 |
|
TPlugin AcceptedPlugin { get; set; } |
56 |
|
} |
57 |
< |
#endregion |
58 |
< |
public interface IProcessConfig : IAcceptsPlugin<IConfigPlugin> |
57 |
> |
public interface IAcceptsProcess<TProcess> |
58 |
> |
where TProcess : Process |
59 |
|
{ |
60 |
< |
Process AcceptedProcess { get; set; } |
60 |
> |
TProcess AcceptedProcess { get; set; } |
61 |
|
} |
62 |
+ |
#endregion |
63 |
+ |
public interface IAcceptsProcessAndConfig<TPlugin, TProcess> : IAcceptsPlugin<TPlugin>, IAcceptsProcess<TProcess> |
64 |
+ |
where TPlugin : IPluginBase |
65 |
+ |
where TProcess : Process { } |
66 |
+ |
public interface IAcceptsProcessAndConfig : IAcceptsProcessAndConfig<IConfigPlugin,Process> { } |
67 |
|
public interface IAcceptsProcessPID |
68 |
|
{ |
69 |
|
int ProcessPID { get; set; } |