Class ProcessMonitorFactory
Implements
Inherited Members
Namespace: LemonEdge.Utils
Assembly: LemonEdge.Utils.dll
Syntax
public class ProcessMonitorFactory : IProcessMonitorFactory
Constructors
ProcessMonitorFactory()
Declaration
public ProcessMonitorFactory()
Methods
Create(ILogger, EventId)
Factory access to the IProcessMonitor.
Declaration
public 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. |