class 实施服务操作是否需要为每个操作连接起来?

Does a class implementing service operations need to be wired up for every action?

如果 class 实现 ServiceControlServiceSuspendServiceShutdownServiceCustomCommandServicePowerEvent and/or ServiceSessionChange,这些操作是否仍然需要通过 HostConfigurators WhenXXX 方法连接?

如果服务class实现了ServiceControl等接口,那么就不需要配置WhenStarted等方法,因为Topshelf会使用接口方法

来自文档:http://topshelf.readthedocs.io/en/latest/configuration/config_api.html#simple-service