コード例 #1
0
        public AppBarManager(ExplorerHelper explorerHelper)
        {
            _appBarMessageDelegate = appBarMessageDelegate;
            _explorerHelper        = explorerHelper;

            _explorerHelper._notificationArea?.SetAppBarMessageCallback(_appBarMessageDelegate);
        }
コード例 #2
0
        // The AppBarManager calls this to provide the delegate that handles AppBar messages received by the tray
        public void SetAppBarMessageCallback(AppBarMessageDelegate theDelegate)
        {
            if (theDelegate == null)
            {
                return;
            }

            appBarMessageDelegate = theDelegate;
            _trayService?.SetAppBarMessageCallback(appBarMessageDelegate);
        }
コード例 #3
0
 internal void SetAppBarMessageCallback(AppBarMessageDelegate theDelegate)
 {
     appBarMessageDelegate = theDelegate;
 }