private void ShowSharedNestedAggregations() { if (SharedAggregations != null) { SharedAggregations.ToList() .ForEach(ShowSharedAggregation); } ActOnAllNestedEntities(e => e.ShowSharedAggregations()); }
private bool IsPartOfSharedAggregations(PropertyInfo propertyInfo) { if (propertyInfo == null) { return(false); } if (SharedAggregations == null) { return(false); } return(SharedAggregations.Any(item => item.PropertyType.FullName.Equals(propertyInfo.PropertyType.FullName))); }