InTheHand.UI.ApplicationSettings.SettingsPane.OnCommandsRequested C# (CSharp) Method

OnCommandsRequested() private method

private OnCommandsRequested ( ) : IList
return IList
        internal IList<SettingsCommand> OnCommandsRequested()
        {
            SettingsPaneCommandsRequestedEventArgs e = new SettingsPaneCommandsRequestedEventArgs();
            try
            {
                if (_commandsRequested != null)
                {
                    _commandsRequested(this, e);
                    return e.Request.ApplicationCommands;
                }
            }
            catch { }

            return null;
        }
#endif