Example #1
0
 public void SetUp()
 {
     _configReader   = MockRepository.GenerateStub <IXmlConfigReader>();
     _xlnMainSection = new XlnMainSection
     {
         PublicWebsiteSections = FakePublicWebsiteXml.CreateXlnMainSection().ToList(),
         ConfigurationSections = FakeConfigurationXml.CreateSections().ToList()
     };
 }
Example #2
0
 public void SetUp()
 {
     _configReader     = MockRepository.GenerateStub <IXmlConfigReader>();
     _configWriter     = MockRepository.GenerateStub <IXmlConfigWriter>();
     _xlnConfigCommon  = FakePublicWebsiteXml.CreateCommonSection();
     _xlnConfigTelecom = FakePublicWebsiteXml.CreateTelecomSection();
     _xlnMainSection   = FakePublicWebsiteXml.CreateXlnMainSection();
     _xDoc             = GetFakeXmlFile();
 }
 public NavigationController(IXmlConfigReader configReader, IXmlConfigWriter configWriter) : base(configReader, configWriter)
 {
 }
 public HomeController(IXmlConfigReader configReader, IXmlConfigWriter configWriter) : base(configReader, configWriter)
 {
 }
Example #5
0
 public AbstractController(IXmlConfigReader configReader, IXmlConfigWriter configWriter)
 {
     ConfigReader = configReader;
     ConfigWriter = configWriter;
     XmlPaths     = ConfigReader.LoadConfigs(typeof(XmlPath), XmlPath, "xmlPath", new XmlPath());
 }