Пример #1
0
 protected void SetUp()
 {
     Config            = new TestConfiguration();
     WebApi            = new TestWebApi(Config);
     ProfileDataMapper = new ProfileDataMapper(Config);
     Repo = new ProfileRepositoryImpl(WebApi, ProfileDataMapper);
 }
 protected void SetUp()
 {
     Configuration = new TestConfiguration();
     Mapper        = new ProfileDataMapper(Configuration);
 }
Пример #3
0
 public ProfileRepositoryImpl(IWebApi webApi, ProfileDataMapper mapper)
 {
     WebApi = webApi;
     Mapper = mapper;
 }
Пример #4
0
 public ProfileRepository(OrganizationServiceDataContext context, ProfileDataMapper profileDataMapper)
 {
     this.context = context;
     mapper       = profileDataMapper.Mapper;
 }