Exemple #1
0
 private void Write(CSharpProject project)
 {
     foreach (var @namespace in project.Namespaces)
     {
         Write(@namespace);
     }
 }
Exemple #2
0
 private void Write(CSharpProject project)
 {
     foreach (var @namespace in project.Namespaces)
     {
         Write(@namespace);
     }
 }
Exemple #3
0
        public IEnumerable<TextFile> GenerateProxy(OdcmModel model)
        {
            var csProject = new CSharpProject(model);

            var codeGenerator = new SourceCodeGenerator(model.ServiceType);

            return codeGenerator.Generate(csProject);
        }
Exemple #4
0
        public IEnumerable <TextFile> GenerateProxy(OdcmModel model)
        {
            var csProject = new CSharpProject(model);

            var codeGenerator = new SourceCodeGenerator(model.ServiceType);

            return(codeGenerator.Generate(csProject));
        }
Exemple #5
0
 internal IEnumerable <TextFile> Generate(CSharpProject project)
 {
     Write(project);
     yield return(new TextFile("CSharpProxy.cs", _builder.ToString()));
 }
Exemple #6
0
 internal IEnumerable<TextFile> Generate(CSharpProject project)
 {
     Write(project);
     yield return new TextFile("CSharpProxy.cs", _builder.ToString());
 }