/// <summary> /// Initializes a new instance of the <see cref="AddTransformCommand"/> class. /// </summary> /// <param name="package">The VSPackage</param> /// <param name="nuGetManager">The nuget manager for the VSPackage</param> /// <param name="logger">VSPackage logger</param> public AddTransformCommand(SlowCheetahPackage package, SlowCheetahNuGetManager nuGetManager, SlowCheetahPackageLogger logger) : base(package) { this.package = package ?? throw new ArgumentNullException(nameof(package)); this.nuGetManager = nuGetManager ?? throw new ArgumentNullException(nameof(nuGetManager)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
/// <summary> /// Initializes a new instance of the <see cref="PreviewTransformCommand"/> class. /// </summary> /// <param name="package">The VSPackage</param> /// <param name="nuGetManager">The nuget manager for the VSPackage</param> /// <param name="logger">VSPackage logger</param> /// <param name="errorListProvider">The VS error list provider</param> public PreviewTransformCommand( SlowCheetahPackage package, SlowCheetahNuGetManager nuGetManager, SlowCheetahPackageLogger logger, ErrorListProvider errorListProvider) : base(package) { this.ScPackage = package ?? throw new ArgumentNullException(nameof(package)); this.NuGetManager = nuGetManager ?? throw new ArgumentNullException(nameof(nuGetManager)); this.Logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.ErrorListProvider = errorListProvider ?? throw new ArgumentNullException(nameof(errorListProvider)); this.TempFilesCreated = new List <string>(); }