public void Build(IServiceBuilder builder) { builder.BuildService <CounterService>(); builder.BuildService <Bank.BankTestsService>(); builder.BuildService <SimpleLoadTest.Service.SimpleLoadTestService>(); builder.ScanThisDLL(); }
public void Build(IServiceBuilder builder) { // first we import the HelloWorld service builder.BuildService <HelloWorldService>(); // we build this service by automatically scanning the project for declarations builder.ScanThisDLL(); }
public void Build(IServiceBuilder builder) { builder .ScanThisDLL() .OverridePlacement(placementBuilder => placementBuilder .PlaceOnProcess <IClientAffinity>(0) .PlaceOnProcess <IServerAffinity>(1)) ; }
public void Build(IServiceBuilder builder) { // build this service by automatically scanning for declarations builder.ScanThisDLL(); }
public void Build(IServiceBuilder builder) { builder.Build <CounterService>(); builder.ScanThisDLL(); }
public void Build(IServiceBuilder builder) { builder.BuildService <RideSharingService>(); builder.ScanThisDLL(); }
public void Build(IServiceBuilder builder) { builder.ScanThisDLL(); }
public void Build(IServiceBuilder builder) { builder.BuildService <BankService>(); builder.ScanThisDLL(); }