C# 클래스 Prototype.Service.Services.SampleService

Sample service to demonstrate topshelf microservice
상속: ServiceControl, ISampleService
파일 보기 프로젝트 열기: radicalgeek/SampleMicroservice

공개 메소드들

메소드 설명
SampleService ( ILogger logger, IMessageSubscriber sampleMessageSubscriber ) : Prototype.Logger
Start ( HostControl hostControl ) : bool

Start the service

Stop ( HostControl hostControl ) : bool

Stops the service

메소드 상세

SampleService() 공개 메소드

public SampleService ( ILogger logger, IMessageSubscriber sampleMessageSubscriber ) : Prototype.Logger
logger ILogger
sampleMessageSubscriber IMessageSubscriber
리턴 Prototype.Logger

Start() 공개 메소드

Start the service
public Start ( HostControl hostControl ) : bool
hostControl HostControl the topshelf host
리턴 bool

Stop() 공개 메소드

Stops the service
public Stop ( HostControl hostControl ) : bool
hostControl HostControl the topshelf host
리턴 bool