private void ProcessService(Type type) { if (outputDebug) { log.Debug("Service: {0}", type.Name); foreach (var method in type.GetMethods()) log.Debug(" Method: {0}", method.Name); } var gen = new Generator(type.Assembly); gen.GenerateService(type); WriteGeneratorToFile(type, gen); }
private void ProcessService(Type type) { if (options.OutputDebug) { Console.WriteLine("Service: {0}", type.Name); foreach (var method in type.GetMethods()) Console.WriteLine(" Method: {0}", method.Name); } var gen = new Generator(options); gen.GenerateService(type); WriteGeneratorToFile(type, gen); }