Exemple #1
0
 protected BaseList GetBaseList()
 => !Any(Bases) ? null
         : BaseLists.Create(
     Bases.Select(b => new BaseType(b.Name,
                                    Any(b.TypeArguments) ? new TypeArgumentList(
                                        b.TypeArguments.Select(typeArgument => new TypeArgumentListAssociation(typeArgument)).ToList()) : null)).ToArray());
Exemple #2
0
 private static BaseList GetBaseList(string baseType)
 => BaseLists.Create(new BaseType(baseType));