Beispiel #1
0
        public AppBarManager(ExplorerHelper explorerHelper)
        {
            _appBarMessageDelegate = appBarMessageDelegate;
            _explorerHelper        = explorerHelper;

            _explorerHelper._notificationArea?.SetAppBarMessageCallback(_appBarMessageDelegate);
        }
        // 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);
        }
Beispiel #3
0
 internal void SetAppBarMessageCallback(AppBarMessageDelegate theDelegate)
 {
     appBarMessageDelegate = theDelegate;
 }