public void Init()
        {
            this.Container = new Container();

            var typeFactory = new ExpressionTypeFunqContainer(this.Container);

            this.ServiceController.Register(typeFactory, assembliesWithServices);

            this.ServiceOperations    = new ServiceOperations(this.ServiceController.OperationTypes);
            this.AllServiceOperations = new ServiceOperations(this.ServiceController.AllOperationTypes);

            typeFactory.RegisterTypes(this.ServiceController.ServiceTypes);
        }
Exemplo n.º 2
0
 internal static void SetOperationTypes(ServiceOperations operationTypes, ServiceOperations allOperationTypes)
 {
     ServiceOperations = operationTypes;
     AllServiceOperations = allOperationTypes;
 }
Exemplo n.º 3
0
        public void Init()
        {
            this.Container = new Container();

            var typeFactory = new ExpressionTypeFunqContainer(this.Container);

            this.ServiceController.Register(typeFactory, assembliesWithServices);

            this.ServiceOperations = new ServiceOperations(this.ServiceController.OperationTypes);
            this.AllServiceOperations = new ServiceOperations(this.ServiceController.AllOperationTypes);

            typeFactory.RegisterTypes(this.ServiceController.ServiceTypes);
        }
Exemplo n.º 4
0
 public void ReloadServiceOperations()
 {
     this.ServiceOperations    = new ServiceOperations(this.ServiceController.OperationTypes);
     this.AllServiceOperations = new ServiceOperations(this.ServiceController.AllOperationTypes);
 }