IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Engine.Services.Service Class Reference

Abstract base class for services that can use it. Some Services already inherit from a different class and can't use this, which is why we define the IService interface as well. More...

+ Inheritance diagram for NUnit.Engine.Services.Service:
+ Collaboration diagram for NUnit.Engine.Services.Service:

Public Member Functions

virtual void StartService ()
 Initialize the Service More...
 
virtual void StopService ()
 Do any cleanup needed before terminating the service More...
 
void Dispose ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool _disposed = false
 

Properties

IServiceLocator ServiceContext [get, set]
 The ServiceContext More...
 
ServiceStatus Status [get, protected set]
 Gets the ServiceStatus of this service More...
 
- Properties inherited from NUnit.Engine.IService
IServiceLocator ServiceContext [get, set]
 The ServiceContext More...
 
ServiceStatus Status [get]
 Gets the ServiceStatus of this service More...
 

Detailed Description

Abstract base class for services that can use it. Some Services already inherit from a different class and can't use this, which is why we define the IService interface as well.

Member Function Documentation

virtual void NUnit.Engine.Services.Service.StopService ( )
inlinevirtual

Do any cleanup needed before terminating the service

Implements NUnit.Engine.IService.

Reimplemented in NUnit.Engine.Services.RecentFilesService.

Referenced by NUnit.Engine.Services.Tests.RuntimeFrameworkServiceTests.StopService().

void NUnit.Engine.Services.Service.Dispose ( )
inline
virtual void NUnit.Engine.Services.Service.Dispose ( bool  disposing)
inlineprotectedvirtual

Member Data Documentation

bool NUnit.Engine.Services.Service._disposed = false
protected

Property Documentation

IServiceLocator NUnit.Engine.Services.Service.ServiceContext
getset

The documentation for this class was generated from the following file: