Beispiel #1
0
        protected override void Load(ContainerBuilder builder)
        {
            new ServiceLayerConfiguration(new Container(builder, ContainerFactory))
            .AddRequestAndResponseAssembly(RequestResponseAssembly)
            .AddRequestHandlerAssembly(HandlerAssembly)
            .Initialize();

            AgathaKnownTypeRegistration.RegisterWCFAgathaTypes(RequestResponseAssembly);
        }
Beispiel #2
0
        protected override void Load(ContainerBuilder builder)
        {
            builder.RegisterType <RequestTask>().As <IRequestTask>().InstancePerDependency();

            new ClientConfiguration(new Container(builder, ContainerFactory))
            .AddRequestAndResponseAssembly(RequestResponseAssembly)
            .Initialize();

            AgathaKnownTypeRegistration.RegisterWCFAgathaTypes(RequestResponseAssembly);
        }