Class Plugin
- Namespace
- NuGet.Protocol.Plugins
- Assembly
- NuGet.Protocol.dll
public sealed class Plugin : IPlugin, IDisposable
- Inheritance
-
Plugin
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
Plugin(string, IConnection, IPluginProcess, bool, TimeSpan)
public Plugin(string filePath, IConnection connection, IPluginProcess process, bool isOwnProcess, TimeSpan idleTimeout)
Parameters
filePath
string
connection
IConnection
process
IPluginProcess
isOwnProcess
bool
idleTimeout
TimeSpan
Properties
Connection
public IConnection Connection { get; }
Property Value
- IConnection
FilePath
public string FilePath { get; }
Property Value
- string
Id
public string Id { get; }
Property Value
- string
Name
public string Name { get; }
Property Value
- string
Methods
Close()
Dispose()
Events
BeforeClose
public event EventHandler BeforeClose
Event Type
- EventHandler
Closed
public event EventHandler Closed
Event Type
- EventHandler
Exited
public event EventHandler<PluginEventArgs> Exited
Event Type
- EventHandler<PluginEventArgs>
Faulted
public event EventHandler<FaultedPluginEventArgs> Faulted
Event Type
- EventHandler<FaultedPluginEventArgs>
Idle
public event EventHandler<PluginEventArgs> Idle
Event Type
- EventHandler<PluginEventArgs>