예제 #1
0
        public CatelLogListener(IDispatcherService dispatcherService, IEchoService echoService)
        {
            Argument.IsNotNull(() => dispatcherService);
            Argument.IsNotNull(() => echoService);

            _dispatcherService = dispatcherService;

            _echo = echoService.GetPackageManagementEcho();
        }
예제 #2
0
        public PackageManagementEcho GetPackageManagementEcho()
        {
            if (_echo is null)
            {
                _echo = new PackageManagementEcho();
            }

            return(_echo);
        }
예제 #3
0
        public PackageManagementEcho GetPackageManagementEcho()
        {
            if (_echo == null)
            {
                _echo = new PackageManagementEcho();
            }

            return _echo;
        }
예제 #4
0
        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();
        }