private void processClientProtocols()
{
foreach (Protocol protocol in Protocols)
{
CodeNamespace ns = addNamespace(protocol.Namespace);
foreach (Schema schema in protocol.Types)
{
if (_SchemaToCodeTypeReferenceLookup.ContainsKey(schema))
{
if (log.IsDebugEnabled) log.DebugFormat("processProtocols() - Schema already exists so skipping. \"{0}\"", schema);
continue;
}
processSchema(ns, schema);
}
CodeTypeReference protocolInterface = createProtocolInterface(protocol, ns);
createProtocolClient(protocol, ns, protocolInterface);
}
}