/// <summary> /// Initializes a new instance of the <see cref="SpadeContextInsertRegionCommand" /> class. /// </summary> /// <param name="package">The hosting package.</param> internal SpadeContextInsertRegionCommand(CodeMaidPackage package) : base(package, new CommandID(GuidList.GuidCodeMaidCommandSpadeContextInsertRegion, (int)PkgCmdIDList.CmdIDCodeMaidSpadeContextInsertRegion)) { _generateRegionLogic = GenerateRegionLogic.GetInstance(package); _undoTransactionHelper = new UndoTransactionHelper(package, "CodeMaid Insert Region"); }
/// <summary> /// Initializes a new instance of the <see cref="SpadeContextInsertRegionCommand" /> class. /// </summary> /// <param name="package">The hosting package.</param> internal SpadeContextInsertRegionCommand(CodeMaidPackage package) : base(package, new CommandID(PackageGuids.GuidCodeMaidMenuSet, PackageIds.CmdIDCodeMaidSpadeContextInsertRegion)) { _generateRegionLogic = GenerateRegionLogic.GetInstance(package); _undoTransactionHelper = new UndoTransactionHelper(package, "CodeMaid Insert Region"); }
/// <summary> /// Initializes a new instance of the <see cref="SpadeContextInsertRegionCommand" /> class. /// </summary> /// <param name="package">The hosting package.</param> internal SpadeContextInsertRegionCommand(CodeMaidPackage package) : base(package, new CommandID(GuidList.GuidCodeMaidCommandSpadeContextInsertRegion, (int)PkgCmdIDList.CmdIDCodeMaidSpadeContextInsertRegion)) { _generateRegionLogic = GenerateRegionLogic.GetInstance(package); }