/// <summary> /// Initializes a new instance of the WindowsSerivce class. /// </summary> protected WindowsService(string displayName, string description, WindowsServiceArguments arguments, IWindowsServiceWebService client = null) { Arguments = arguments; _displayName = displayName; _description = description; _client = client; _serviceThread = new Thread(ServiceThread); }
/// <summary> /// Initializes a new instance of the WindowsSerivce class. /// </summary> public Service(string displayName, string description, WindowsServiceArguments arguments, IWindowsServiceWebService client) : base(displayName, description, arguments, client) { }