Catel.MVVM.CompositeCommand.GetCommands C# (CSharp) 메소드

GetCommands() 공개 메소드

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