Example #1
0
		/// <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);
		}
Example #2
0
 /// <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);
 }
Example #3
0
 /// <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)
 {
 }
Example #4
0
 /// <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)
 {
 }