Esempio n. 1
0
 protected virtual IEnumerable <PropertyInfo> GetRegisteredProperties()
 {
     return(typeof(TSourceType)
            .GetProperties(BindingFlags.Public | BindingFlags.Instance)
            .Where(p => GraphObjectTypeReflectionHelper.IsEnabledForRegister(p.PropertyType, true)));
 }
 private static IEnumerable <PropertyInfo> GetRegisteredProperties(Type sourceType)
 {
     return(sourceType
            .GetProperties(BindingFlags.Public | BindingFlags.Instance)
            .Where(p => GraphObjectTypeReflectionHelper.IsEnabledForRegister(p.PropertyType, true)));
 }