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

            _dependencyResolver.SetReferences(references);

            _persistence = _dependencyResolver.GetOneRequired <IGuidesPersistence>("persistence");

            _attachmentsClient = _dependencyResolver.GetOneRequired <IAttachmentsClientV1>("attachments");

            _attachmentsConnector = new AttachmentsConnector(_attachmentsClient);
        }
コード例 #2
0
 public GuidesPersistenceFixture(IGuidesPersistence persistence)
 {
     _persistence = persistence;
 }