private CosmosMenuCmdSet(CosmosWindowsPackage package) { _package = package ?? throw new ArgumentNullException(nameof(package)); _joinableTaskFactory = package.JoinableTaskFactory; _ = AddCommandsAsync(); }
private CosmosMenuCmdSet(CosmosWindowsPackage package) { this.package = package ?? throw new ArgumentNullException(nameof(package)); AddCommand(CosmosAssemblyCmdID, ShowWindowAssembly); AddCommand(CosmosRegistersCmdID, ShowWindowRegisters); AddCommand(CosmosStackCmdID, ShowWindowStack); AddCommand(CosmosInternalCmdID, ShowWindowInternal); AddCommand(CosmosShowAllCmdID, ShowWindowAll); }
public static void Initialize(CosmosWindowsPackage package) { Instance = new CosmosMenuCmdSet(package); }