Created
February 7, 2011 03:48
-
-
Save cammerman/813972 to your computer and use it in GitHub Desktop.
Service name provider
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace HelloSvc.Config | |
| { | |
| internal interface IServiceNameProvider | |
| { | |
| String ServiceName { get; } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace HelloSvc.Config | |
| { | |
| internal class ServiceNameProvider : IServiceNameProvider | |
| { | |
| public virtual String ServiceName | |
| { | |
| get { return "Greeter"; } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment