protected override void Load(ContainerBuilder builder) { new ServiceLayerConfiguration(new Container(builder, ContainerFactory)) .AddRequestAndResponseAssembly(RequestResponseAssembly) .AddRequestHandlerAssembly(HandlerAssembly) .Initialize(); AgathaKnownTypeRegistration.RegisterWCFAgathaTypes(RequestResponseAssembly); }
protected override void Load(ContainerBuilder builder) { builder.RegisterType <RequestTask>().As <IRequestTask>().InstancePerDependency(); new ClientConfiguration(new Container(builder, ContainerFactory)) .AddRequestAndResponseAssembly(RequestResponseAssembly) .Initialize(); AgathaKnownTypeRegistration.RegisterWCFAgathaTypes(RequestResponseAssembly); }