Пример #1
0
        private CosmosMenuCmdSet(CosmosWindowsPackage package)
        {
            _package             = package ?? throw new ArgumentNullException(nameof(package));
            _joinableTaskFactory = package.JoinableTaskFactory;

            _ = AddCommandsAsync();
        }
Пример #2
0
        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);
        }
Пример #3
0
 public static void Initialize(CosmosWindowsPackage package)
 {
     Instance = new CosmosMenuCmdSet(package);
 }