private List<PropertyInfo> SelectProperties(Type t)
 {
     IPropertySelectorPolicy selector = new PropertySelectorPolicy<DependencyAttribute>();
     IBuilderContext context = GetContext(t);
     var properties = new List<SelectedProperty>(selector.SelectProperties(context, context.PersistentPolicies));
     return properties.Select(sp => sp.Property).ToList();
 }
        private List <PropertyInfo> SelectProperties(Type t)
        {
            IPropertySelectorPolicy selector = new PropertySelectorPolicy <DependencyAttribute>();
            IBuilderContext         context  = GetContext(t);
            var properties = new List <SelectedProperty>(selector.SelectProperties(context, context.PersistentPolicies));

            return(properties.Select(sp => sp.Property).ToList());
        }
        private List <PropertyInfo> SelectProperties(Type t)
        {
            IPropertySelectorPolicy selector   = new PropertySelectorPolicy <DependencyAttribute>();
            List <SelectedProperty> properties = new List <SelectedProperty>(selector.SelectProperties(GetContext(t)));

            return(properties.ConvertAll <PropertyInfo>(delegate(SelectedProperty sp)
            {
                return sp.Property;
            }));
        }