コード例 #1
0
ファイル: ProjectAssembler.cs プロジェクト: fankof/metropolis
 public static Project Assemble(CodeGraph graph)
 {
     return(new Project {
         Classes = Assemble(graph.AllInstances)
     });
 }
コード例 #2
0
ファイル: CodeBase.cs プロジェクト: gkarwchan/metropolis
 public CodeBase(string name, CodeGraph graph, RepositorySourceType sourceType = RepositorySourceType.CSharp)
 {
     Name       = name;
     Graph      = graph;
     SourceType = sourceType;
 }
コード例 #3
0
ファイル: CodeBase.cs プロジェクト: gkarwchan/metropolis
 public void Enrich(CodeGraph enricher)
 {
     Enrich(enricher.AllInstances);
 }
コード例 #4
0
ファイル: CodeBase.cs プロジェクト: gkarwchan/metropolis
 public CodeBase(CodeGraph graph) : this(string.Empty, graph)
 {
 }