コード例 #1
0
        public override void SetReferences(IReferences references)
        {
            base.SetReferences(references);

            _dependencyResolver.SetReferences(references);

            _persistence = references.GetOneRequired <IContractsPersistence>(
                new Descriptor("eic-contracts", "persistence", "*", "*", "1.0")
                );

            _customersClient    = _dependencyResolver.GetOneRequired <ICustomersClientV1>("customers");
            _customersConnector = new CustomersConnector(_customersClient);
        }
コード例 #2
0
 public CustomersClientV1Fixture(ICustomersClientV1 client)
 {
     _client = client;
 }
コード例 #3
0
 public CustomersConnector(ICustomersClientV1 customersClientV1)
 {
     _customersClient = customersClientV1;
 }