Interface IProcessMonitorFactory
Handles creation of IProcessMonitors.
Namespace: LemonEdge.Utils
Assembly: LemonEdge.Utils.dll
Syntax
public interface IProcessMonitorFactory
Methods
Create(ILogger, EventId)
Factory access to the IProcessMonitor.
Declaration
IProcessMonitor Create(ILogger logger, EventId eventIdForAllSteps)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | An ILogger from the consumer. |
EventId | eventIdForAllSteps | An EventId to use in logging. If provided, this is used across all the steps. |
Returns
Type | Description |
---|---|
IProcessMonitor | A new IProcessMonitor. |