Exemple #1
0
        public Consumer(IFactoryProperty iFactoryProperty)
        {
            this.iFactoryProperty = iFactoryProperty;

            consumerAgent = new Service.Consumer <L>();

            consumerAgent.FactoryProperty = (Service.FactoryProperty)iFactoryProperty;
        }
Exemple #2
0
        public Producer(IFactoryProperty iFactoryProperty)
        {
            this.iFactoryProperty = iFactoryProperty;

            producerAgent = new Service.Producer();

            producerAgent.FactoryProperty = (Service.FactoryProperty)iFactoryProperty;
        }