Exemplo n.º 1
0
        public static List <Property> getPropertiesToInject(object o)
        {
            var members = getPropertiesAnnotatedWith(o.GetType(), typeof(Inject)).Select(f => new Property(f, KeyProducer.produceKey(f))).ToList();

            return(members);
        }
Exemplo n.º 2
0
        public static List <Field> getFieldsToInject(object o)
        {
            var members = getFieldsAnnotatedWith(o.GetType(), typeof(Inject)).Select(p => new Field(p, KeyProducer.produceKey(p))).ToList();

            return(members);
        }