Exemplo n.º 1
0
 public ChildService(Service svc, int order, bool abortStart)
 {
     m_Service = svc;
       m_Order = order;
       m_AbortStart = abortStart;
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 public ChildService(Service svc, int order, bool abortStart)
 {
     m_Service    = svc;
     m_Order      = order;
     m_AbortStart = abortStart;
 }
Exemplo n.º 4
0
 /// <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 );
 }
Exemplo n.º 5
0
 /// <summary>
 /// Creates a new logging service instance
 /// </summary>
 public LogService(Service director = null) : base(director) {}