public void Decorate(ExtendedCodeDomTree code, CustomCodeGenerationOptions options)
 {
     if (options.GenerateCollections)
     {
         CollectionTypeGenerator generator = new CollectionTypeGenerator(new CollectionTypeProvider(), code);
         generator.Execute();
     }
 }
Пример #2
0
 public void Decorate(ExtendedCodeDomTree code, CustomCodeGenerationOptions options)
 {
     if (options.GenerateTypedLists)
     {
         CollectionTypeGenerator generator = new CollectionTypeGenerator(new ListTypeProvider(), code);
         generator.Execute();
     }
 }