Beispiel #1
0
        public ServiceConfiguratorImpl(ServiceConfigurator <TService> configurator)
        {
            _configurator = configurator;

            _configurator.ConstructUsing((name, coordinator) => FastActivator <TService> .Create());

            _configurator.SetServiceName("{0}/{1}".FormatWith(typeof(TService).Name, Guid.NewGuid()));
        }
Beispiel #2
0
 public void Named(string name)
 {
     _configurator.SetServiceName(name);
 }