public CodeCompileUnit GenerateClient() { _CompileUnit = new CodeCompileUnit(); processTypes(); processClientProtocols(); return _CompileUnit; }
private static CodeCompileUnit generate(AvroGen generator) { CodeCompileUnit cu = generator.GenerateClient(); Assert.IsNotNull(cu); Assert.IsTrue(cu.Namespaces.Count > 0, "Some namespaces should have been generated."); return cu; }