Beispiel #1
0
 public ToDocsPorter(Configuration config)
 {
     if (config.Direction != Configuration.PortingDirection.ToDocs)
     {
         throw new InvalidOperationException($"Unexpected porting direction: {config.Direction}");
     }
     Config                  = config;
     DocsComments            = new DocsCommentsContainer(config);
     IntelliSenseXmlComments = new IntelliSenseXmlCommentsContainer(config);
 }
Beispiel #2
0
 public Analyzer(Configuration config)
 {
     Config = config;
     TripleSlashComments = new TripleSlashCommentsContainer(config);
     DocsComments        = new DocsCommentsContainer(config);
 }