Catel.MVVM.CompositeCommand.GetCommands C# (CSharp) Méthode

GetCommands() public méthode

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