public void Register(IServiceCollection serviceCollection, IAssemblyDiscovery assemblyDiscovery) { _assemblyDiscovery = assemblyDiscovery; _serviceCollection = serviceCollection; RegisterFramework(); RegisterTransient <IDomainService>(); RegisterTransient <IEntityMapping>(); RegisterTransient <IRepository>(); RegisterTransient <IHandler>(); RegisterTransient <ICommandFacade>(); }
public AttributedTypeDiscoveryService(IAssemblyDiscovery assemblyDiscovery) { _assemblyDiscovery = assemblyDiscovery; }