Example #1
0
        //
        // GET: /Tabs/

        public TabsController(ITabsRepository tabsRepository, IJewelRepository jewelRepository, IFileSystem fileSystem, IXmlSourceFactory xmlSourceFactory, IPathBarGenerator pathBarGenerator, IMappingEngine mapper)
        {
            this.tabsRepository   = tabsRepository;
            this.jewelRepository  = jewelRepository;
            this.fileSystem       = fileSystem;
            this.xmlSourceFactory = xmlSourceFactory;
            this.pathBarGenerator = pathBarGenerator;
            this.mapper           = mapper;
        }
Example #2
0
 //
 // GET: /Tabs/
 public TabsController(ITabsRepository tabsRepository, IJewelRepository jewelRepository, IFileSystem fileSystem, IXmlSourceFactory xmlSourceFactory, IPathBarGenerator pathBarGenerator, IMappingEngine mapper)
 {
     this.tabsRepository = tabsRepository;
     this.jewelRepository = jewelRepository;
     this.fileSystem = fileSystem;
     this.xmlSourceFactory = xmlSourceFactory;
     this.pathBarGenerator = pathBarGenerator;
     this.mapper = mapper;
 }
Example #3
0
        public TabsRepository(IXmlSourceFactory sourceFactory)
        {
            var xmldoc = sourceFactory.TabSource();
            if (xmldoc == null)
            {
                throw new ArgumentNullException("The xmldoc was null");
            }

            base.tabsource = xmldoc;

               // LoadTabsFromXML();
        }
Example #4
0
        public TabsRepository(IXmlSourceFactory sourceFactory)
        {
            var xmldoc = sourceFactory.TabSource();

            if (xmldoc == null)
            {
                throw new ArgumentNullException("The xmldoc was null");
            }

            base.tabsource = xmldoc;

            // LoadTabsFromXML();
        }
 //
 // GET: /JewelDesign/
 public JewelDesignController(IDiamondRepository diamondRepository, IJONFormatter formatter, IMappingEngine mapper, IJewelRepository jewelRepository, IWebHelpers webHelpers, IXmlSourceFactory xmlSourceFactory, IFileSystem fileSystem, DiamondHelpBuilder diamondHelpBuilder, ITabsRepository tabsRepository, IPathBarGenerator pathBarGenerator, ITestimonialRepository testimonialRepository)
 {
     this.diamondRepository = diamondRepository;
     this.formatter = formatter;
     this.mapper = mapper;
     this.jewelRepository = jewelRepository;
     this.webHelpers = webHelpers;
     this.xmlSourceFactory = xmlSourceFactory;
     this.fileSystem = fileSystem;
     this.diamondHelpBuilder = diamondHelpBuilder;
     this.tabsRepository = tabsRepository;
     this.pathBarGenerator = pathBarGenerator;
     this.testimonialRepository = testimonialRepository;
 }
        //
        // GET: /JewelDesign/

        public JewelDesignController(IDiamondRepository diamondRepository, IJONFormatter formatter, IMappingEngine mapper, IJewelRepository jewelRepository, IWebHelpers webHelpers, IXmlSourceFactory xmlSourceFactory, IFileSystem fileSystem, DiamondHelpBuilder diamondHelpBuilder, ITabsRepository tabsRepository, IPathBarGenerator pathBarGenerator, ITestimonialRepository testimonialRepository)
        {
            this.diamondRepository     = diamondRepository;
            this.formatter             = formatter;
            this.mapper                = mapper;
            this.jewelRepository       = jewelRepository;
            this.webHelpers            = webHelpers;
            this.xmlSourceFactory      = xmlSourceFactory;
            this.fileSystem            = fileSystem;
            this.diamondHelpBuilder    = diamondHelpBuilder;
            this.tabsRepository        = tabsRepository;
            this.pathBarGenerator      = pathBarGenerator;
            this.testimonialRepository = testimonialRepository;
        }
 public DiamondHelpBuilder(IXmlSourceFactory xmlSourceFactory)
 {
     source = xmlSourceFactory.DiamondHelpSource();
 }
 public DiamondHelpBuilder(IXmlSourceFactory xmlSourceFactory)
 {
     source = xmlSourceFactory.DiamondHelpSource();
 }