Table of Contents

Class ProcessFactory

Namespace
GroupeIsa.Neos.Shared.IO
Assembly
GroupeIsa.Neos.Shared.dll

Represents a IProcess factory.

[ExcludeFromCodeCoverage(Justification = "Wrapper class in order to create interface for test purposes.")]
public class ProcessFactory : IProcessFactory
Inheritance
ProcessFactory
Implements
Inherited Members

Constructors

ProcessFactory(IServiceProvider)

Initializes a new instance of the ProcessFactory class.

public ProcessFactory(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

The service provider.

Methods

Create()

Creates a new process.

public IProcess Create()

Returns

IProcess

The new process.

GetCurrentProcess()

Gets the current process.

public IProcess GetCurrentProcess()

Returns

IProcess

The current process.

GetProcessesByName(string)

Gets all processes with the specified name.

public IProcess[] GetProcessesByName(string name)

Parameters

name string

The process name.

Returns

IProcess[]

All processes with the specified name.