C# Class Prototype.Service.Services.SampleService

Sample service to demonstrate topshelf microservice
Inheritance: ServiceControl, ISampleService
Afficher le fichier Open project: radicalgeek/SampleMicroservice

Méthodes publiques

Méthode Description
SampleService ( ILogger logger, IMessageSubscriber sampleMessageSubscriber ) : Prototype.Logger
Start ( HostControl hostControl ) : bool

Start the service

Stop ( HostControl hostControl ) : bool

Stops the service

Method Details

SampleService() public méthode

public SampleService ( ILogger logger, IMessageSubscriber sampleMessageSubscriber ) : Prototype.Logger
logger ILogger
sampleMessageSubscriber IMessageSubscriber
Résultat Prototype.Logger

Start() public méthode

Start the service
public Start ( HostControl hostControl ) : bool
hostControl HostControl the topshelf host
Résultat bool

Stop() public méthode

Stops the service
public Stop ( HostControl hostControl ) : bool
hostControl HostControl the topshelf host
Résultat bool