Exemple #1
0
        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>());
        }