Exemplo n.º 1
0
        public IEnumerable <CLIArgument> GetAllArguments()
        {
            var lst           = new List <CLIArgument>();
            var allAttributes = attributeHelper.GetAllAttributes <CLIArgument>();

            foreach (var attr in allAttributes)
            {
                var arg = (CLIArgument)attr.Attribute;
                arg.PropertyName = attr.PropertyName;
                arg.PropertyType = attr.PropertyType;
                yield return(arg);
            }
        }