internal bool IsAutomaticExpand(string propertyName) { ExpandConfiguration expandConfiguration; if (ExpandConfigurations.TryGetValue(propertyName, out expandConfiguration)) { return(expandConfiguration.ExpandType == SelectExpandType.Automatic); } else { return(DefaultExpandType.HasValue && DefaultExpandType == SelectExpandType.Automatic); } }
internal bool Expandable(string propertyName) { ExpandConfiguration expandConfiguration; if (ExpandConfigurations.TryGetValue(propertyName, out expandConfiguration)) { return(expandConfiguration.ExpandType != SelectExpandType.Disabled); } else { return(DefaultExpandType.HasValue && DefaultExpandType != SelectExpandType.Disabled); } }