public IEnumerable <ITargetPlatform> GetTargetPlatformsForDesignModel(IDesignModel designModel) { var res = _targetPlatformByDesignModelTypeMap.GetOrNull(designModel.DesignModelType); if (res == null && Parent != null) { return(Parent.GetTargetPlatformsForDesignModel(designModel)); } return(res ?? Enumerable.Empty <ITargetPlatform>()); }