public PackageManagementConsoleHostLogger(ICmdletLogger logger, IPackageManagementEvents packageEvents) { this.logger = logger; this.packageEvents = packageEvents; packageEvents.PackageOperationMessageLogged += PackageOperationMessageLogged; }
public IDisposable CreateLogger(ICmdletLogger logger) { CmdletLoggerUsedToCreateLogger = logger; return FakeConsoleHostLogger; }
public IDisposable CreateLogger(ICmdletLogger logger) { CmdletLoggerUsedToCreateLogger = logger; return(FakeConsoleHostLogger); }
public IDisposable CreateLogger(ICmdletLogger logger) { return null; }
public IDisposable CreateLogger(ICmdletLogger logger) { return new PackageManagementConsoleHostLogger(logger, packageEvents); }
public IDisposable CreateLogger(ICmdletLogger logger) { return(null); }
public IDisposable CreateLogger(ICmdletLogger logger) { return(new PackageManagementConsoleHostLogger(logger, packageEvents)); }