コード例 #1
0
    public LLDPServices(IBashCommand bash)
    {
        this._bash = bash;

        _bash.Install("lldpd");
    }
コード例 #2
0
 public EthernetServices(ISettingsRepository settingsRepository, IBashCommand bash)
 {
     _settingsRepository = settingsRepository;
     _bash = bash;
 }
コード例 #3
0
 public LLDPServices(IBashCommand bash)
 {
     this._bash = bash;
 }
コード例 #4
0
 public SNMPServices(ILoggerFactory loggerFactory, IBashCommand bash, ISettingsRepository settingsRepository)
 {
     this.logger             = loggerFactory.CreateLogger <SNMPServices>();
     this.bash               = bash;
     this.settingsRepository = settingsRepository;
 }
コード例 #5
0
 public EthernetServices(IBashCommand bash, ILoggerFactory loggerFactory)
 {
     _bash   = bash;
     _logger = loggerFactory.CreateLogger <EthernetServices>();
 }