Skip to content

Instantly share code, notes, and snippets.

@cammerman
Created February 7, 2011 03:48
Show Gist options
  • Select an option

  • Save cammerman/813972 to your computer and use it in GitHub Desktop.

Select an option

Save cammerman/813972 to your computer and use it in GitHub Desktop.
Service name provider
namespace HelloSvc.Config
{
internal interface IServiceNameProvider
{
String ServiceName { get; }
}
}
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