예제 #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;
 }