public ChildService(Service svc, int order, bool abortStart) { m_Service = svc; m_Order = order; m_AbortStart = abortStart; }
/// <summary> /// Returns true if child service was unregistered, false if it did not exist. /// The method may only be called on stopped (this) service /// </summary> public bool UnregisterService(Service service) { this.CheckServiceInactive(); var csvc = new ChildService(service, 0, false); return m_Services.Unregister(csvc); }
/// <summary> /// Returns true if child service was registered, false if it was already registered prior tp this call. /// The method may only be called on stopped (this) service /// </summary> public bool RegisterService(Service service, int order, bool abortStart) { this.CheckServiceInactive(); var csvc = new ChildService(service, order, abortStart); return m_Services.Register( csvc ); }
/// <summary> /// Creates a new logging service instance /// </summary> public LogService(Service director = null) : base(director) {}