public void TestPropertyLookup() { var type = typeof(InfoFactory); var info = new InfoFactory(type); var properties = from p in info.Properties where p.Name == "Type" orderby p.Name select p; var list = properties.ToList(); var x = list.Count; }
public void TestPropertyLookup() { Type type = typeof(InfoFactory); InfoFactory info = new InfoFactory(type); ProjectedItems <PropertyInfo> properties = from p in info.Properties where p.Name == "Type" orderby p.Name select p; List <PropertyInfo> list = properties.ToList(); int x = list.Count; }