Exemplo n.º 1
0
 private TView GetView <T, TView>() where TView : class
 {
     return(PropertyViews.SingleOrDefault(x => x.Property.Type == typeof(T)) as TView);
 }
Exemplo n.º 2
0
 private PropertyView GetView <T>()
 {
     return(PropertyViews.SingleOrDefault(x => x.Property.Type == typeof(T)) as PropertyView);
 }