Beispiel #1
0
 public BMBuildingController()
 {
     _buildingRepo  = new BuildingRepository();
     _accountRepo   = new AccountRepository();
     _apartmentRepo = new ApartmentRepository();
     _svgDatasource = new SVGDataSource();
 }
Beispiel #2
0
 public ApartmentSvgAssignmentChecker(string apartmentIdAttributeName = "apt-id", string apartmentElementGroupName = "g")
 {
     _apartmentRepo             = new ApartmentRepository();
     _svgDataRepo               = new SVGDataRepository();
     _apartmentIdAttributeName  = apartmentIdAttributeName;
     _apartmentElementGroupName = apartmentElementGroupName;
 }
Beispiel #3
0
        public PocoRepositoryTests()
        {
            Host.Run(new[] { "install y" }).Wait();

            Scaffold.Run();

            _repo = new PocoRepository();
        }
        public PocoRepositoryTests()
        {
            Host.Run(new[] { "install y" }).Wait();
            Scaffold.Tables();

            var context = new ContextMocker();

            _repo = new PocoRepository();
        }
Beispiel #5
0
        public SettingsServiceTests()
        {
            Host.Run(new[] { "install y" }).Wait();

            Scaffold.Run();

            _service = new SettingsService();
            _repo    = new PocoRepository();
        }
Beispiel #6
0
        public Utility(IPocoRepository pocoRepo, IUserService userService, IContentTypeService contentTypeService, IContentService contentService, UmbracoContext context)
        {
            _context = context;

            _userService        = userService;
            _contentTypeService = contentTypeService;
            _contentService     = contentService;

            _pocoRepo = pocoRepo;
        }
Beispiel #7
0
        public BuildingManager(MembershipHelper memberHelper, UmbracoContext context)
            : base(context)
        {
            _buildingRepo = new BuildingRepository();
            _addressRepo  = new AddressRepository();

            _memberHelper            = memberHelper;
            _buildingActionTemplates = new Dictionary <string, string>();
            _buildingActionTemplates.Add("Configure", "BMBuildingConfiguration");//actionName,templateAlias
            _buildingActionTemplates.Add("Edit", "BMBuildingEdit");
        }
Beispiel #8
0
        public ApartmentManager()
        {
            _dataSourceService  = new ExcelDataSourceService();
            _apartmentRepo      = new ApartmentRepository();
            _apartmentAssetRepo = new ApartmentAssetRepository();
            _accountRepo        = new AccountRepository();
            _buildingRepo       = new BuildingRepository();

            _buildingFolderRepo  = new BuildingFolderRepository();
            _apartmentFolderRepo = new ApartmentFolderRepository();
            _svgRepository       = new SVGDataRepository();
        }
Beispiel #9
0
        public MediaManager(UmbracoContext context)
        {
            _context            = context;
            _accountFolderRepo  = new AccountFolderRepository();
            _buildingFolderRepo = new BuildingFolderRepository();
            _buildingAssetRepo  = new BuildingAssetRepository();

            _apartmentAssetRepo  = new ApartmentAssetRepository();
            _apartmentFolderRepo = new ApartmentFolderRepository();
            _buildingRepo        = new BuildingRepository();
            _accountRepo         = new AccountRepository();

            _apartmentRepo = new ApartmentRepository();
            _assetManager  = new AssetManager();
            _mediaService  = _context.Application.Services.MediaService;
            _umbracoHelper = new UmbracoHelper(_context);
        }
Beispiel #10
0
 public ConfigService(IPocoRepository repo)
 {
     _repo = repo;
 }
Beispiel #11
0
 private PromoService(IPocoRepository repo)
 {
     _repo = repo;
 }
Beispiel #12
0
 public AssetManager()
 {
     _buildingAssetRepo  = new BuildingAssetRepository();
     _apartmentAssetRepo = new ApartmentAssetRepository();
 }
Beispiel #13
0
 public ConfigService(ILogger log, IPocoRepository repo)
 {
     this.log  = log;
     this.repo = repo;
 }
Beispiel #14
0
 public AddressApiController()
 {
     _addressRepo = new AddressRepository();
 }
Beispiel #15
0
 private ConfigService(ILogger log, IPocoRepository repo)
 {
     _log  = log;
     _repo = repo;
 }
Beispiel #16
0
 private ConfigService(IPocoRepository repo)
 {
     _repo = repo;
 }
Beispiel #17
0
 public BuildingApiController()
 {
     _bldgRepo    = new BuildingRepository();
     _addressRepo = new AddressRepository();
 }
Beispiel #18
0
 private SettingsService(ILogger log, IPocoRepository repo)
 {
     _log  = log;
     _repo = repo;
 }
Beispiel #19
0
 public ExcelDataSourceService()
 {
     _apartmentRepo       = new ApartmentRepository();
     _apartmentAssetRepo  = new ApartmentAssetRepository();
     _apartmentStatusRepo = new ApartmentStatusRepository();
 }
Beispiel #20
0
 private GroupService(ILogger log, IPocoRepository repo)
 {
     _log  = log;
     _repo = repo;
 }
Beispiel #21
0
 public BuildingManagerService()
 {
     _buildingRepo      = new BuildingRepository();
     _buildingAssetRepo = new BuildingAssetRepository();
     _addressRepo       = new AddressRepository();
 }
Beispiel #22
0
 public PocoCachingRepository(IPocoRepository pocoRepository)
 {
     this.pocoRepositry = pocoRepository;
 }
Beispiel #23
0
 public BMAccountController()
 {
     _accountRepo = new AccountRepository();
 }
Beispiel #24
0
 private SettingsService(IPocoRepository repo)
 {
     _repo = repo;
 }
Beispiel #25
0
 public BMBuildingSliderController()
 {
     _buildingRepo  = new BuildingRepository();
     _accountRepo   = new AccountRepository();
     _apartmentRepo = new ApartmentRepository();
 }
Beispiel #26
0
 private GroupService(IPocoRepository repo)
 {
     _repo = repo;
 }