Example #1
0
 public static TypeSyntax ToListOfBuilderType(this NameSyntax nameSyntax)
 {
     return
         (GenericName(Names.ListGeneric)
          .AddTypeArgumentListArguments(
              nameSyntax.ToNestedBuilderType())
          .WithNamespace(Names.ListGenericNamespace));
 }