public ApiModule(RouteRegistrar routes)
		{
			routes.RegisterServicesInto(
				this,
				AllTypes.InAssembly.Where(
					x => x.Namespace.StartsWith("Restall.Nancy.Demo.ServiceRouting.Api") && x.Name.EndsWith("Service")));
		}
Exemplo n.º 2
0
 public ServiceModule(RouteRegistrar routes)
 {
     routes.RegisterServicesInto(this, AllServiceTypes);
 }