Catel.MVVM.CompositeCommand.GetCommands C# (CSharp) Method

GetCommands() public method

Gets the commands currently registered to this composite command.
public GetCommands ( ) : IEnumerable
return IEnumerable
        public IEnumerable<ICommand> GetCommands()
        {
            lock (_lock)
            {
                return (from command in _commandInfo
                        select command.Command).ToList();
            }
        }