public CatelLogListener(IDispatcherService dispatcherService, IEchoService echoService) { Argument.IsNotNull(() => dispatcherService); Argument.IsNotNull(() => echoService); _dispatcherService = dispatcherService; _echo = echoService.GetPackageManagementEcho(); }
public PackageManagementEcho GetPackageManagementEcho() { if (_echo is null) { _echo = new PackageManagementEcho(); } return(_echo); }
public PackageManagementEcho GetPackageManagementEcho() { if (_echo == null) { _echo = new PackageManagementEcho(); } return _echo; }
public SimpleLogListener(INuGetLogListeningSevice nuGetLogListeningSevice, IEchoService echoService, IDispatcherService dispatcherService) : base(nuGetLogListeningSevice) { Argument.IsNotNull(() => echoService); Argument.IsNotNull(() => dispatcherService); _dispatcherService = dispatcherService; _echo = echoService.GetPackageManagementEcho(); }
public SimpleLogListener(INuGetLogListeningSevice nuGetLogListeningSevice, IEchoService echoService, IDispatcherService dispatcherService) : base( nuGetLogListeningSevice) { Argument.IsNotNull(() => echoService); Argument.IsNotNull(() => dispatcherService); _dispatcherService = dispatcherService; _echo = echoService.GetPackageManagementEcho(); }