The ServiceUtils type provides an implementation of the IServiceUtils interface that provides utility methods for managing Windows services.

Base project reference: https://github.com/cjaehnen/OpenLib.Utils

Наследование: IServiceUtils
Пример #1
0
 /// <summary>
 /// Base test constructor
 /// </summary>
 public ServiceUtils()
 {
     _processUtils = new Mock<IProcessUtils>();
     _serviceUtils = new DevUtils.Service.ServiceUtils(_processUtils.Object);
 } 
Пример #2
0
 /// <summary>
 /// Base test constructor
 /// </summary>
 public ServiceUtils()
 {
     _processUtils = new Mock <IProcessUtils>();
     _serviceUtils = new DevUtils.Service.ServiceUtils(_processUtils.Object);
 }