Skip to content

Csharp serverside abstractclass v2#5813

Closed
jtattermusch wants to merge 6 commits intogrpc:masterfrom
jtattermusch:csharp_serverside_abstractclass_v2
Closed

Csharp serverside abstractclass v2#5813
jtattermusch wants to merge 6 commits intogrpc:masterfrom
jtattermusch:csharp_serverside_abstractclass_v2

Conversation

@jtattermusch
Copy link
Copy Markdown
Contributor

Same as #5751 but with extra changes to get the idea how the resulting code looks like:

  • serverside abstract class doesn't have "Base" suffix
  • "Grpc" suffix added to the "umbrella" class that represents a service (public static class Health -> public static class HealthGrpc).

One of the problems with the "Grpc" suffix seems to be that many people like to add suffix "Service" to their service names (which seems to be against protobuf code style, but still), in which case the resulting class name ("TestServiceGrpc") looks a bit weird.

@jskeet , @chrisdunelm

@jskeet
Copy link
Copy Markdown
Contributor

jskeet commented Mar 18, 2016

Yes, I've seen the Service suffix very commonly. I'm not sure that FooServiceGrpc is too bad though.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants