Making them interfaces lets us dependency inject them, allowing a given class to be tested.
9 lines
163 B
C#
9 lines
163 B
C#
namespace RdtClient.Service.Wrappers;
|
|
|
|
public class ProcessFactory: IProcessFactory
|
|
{
|
|
public IProcess NewProcess()
|
|
{
|
|
return new Process();
|
|
}
|
|
}
|