Example #1
0
        private IEnumerable <CommandAction> FindInType(Type type)
        {
            var methods = ReflectionUtilities.RetrieveMethodsWithAttribute <CommandActionAttribute>(type);

            return(methods.Select(GetCommand));
        }