/// <summary> /// Initializes a new instance of the <see cref="ReorganizeActiveCodeCommand" /> class. /// </summary> /// <param name="package">The hosting package.</param> internal ReorganizeActiveCodeCommand(CodeMaidPackage package) : base(package, PackageGuids.GuidCodeMaidMenuSet, PackageIds.CmdIDCodeMaidReorganizeActiveCode) { CodeReorganizationManager = CodeReorganizationManager.GetInstance(Package); _codeReorganizationAvailabilityLogic = CodeReorganizationAvailabilityLogic.GetInstance(Package); }
/// <summary> /// Initializes a new instance of the <see cref="ReorganizeActiveCodeCommand" /> class. /// </summary> /// <param name="package">The hosting package.</param> internal ReorganizeActiveCodeCommand(CodeMaidPackage package) : base(package, new CommandID(GuidList.GuidCodeMaidCommandReorganizeActiveCode, (int)PkgCmdIDList.CmdIDCodeMaidReorganizeActiveCode)) { CodeReorganizationManager = CodeReorganizationManager.GetInstance(Package); _codeReorganizationAvailabilityLogic = CodeReorganizationAvailabilityLogic.GetInstance(Package); }
public static void ClassInitialize(TestContext testContext) { _codeReorganizationAvailabilityLogic = CodeReorganizationAvailabilityLogic.GetInstance(TestEnvironment.Package); Assert.IsNotNull(_codeReorganizationAvailabilityLogic); }