Пример #1
0
 public NewsNodeCreator(NewsPageParameter parameter, NewsConfigurationSection config, NewsDataAccess DAL, XmlDocument document)
 {
     Parameter = parameter;
     Config    = config;
     dal       = DAL;
     xdoc      = document;
 }
 public NewsNodeCreator(NewsPageParameter parameter, NewsConfigurationSection config, NewsDataAccess DAL, XmlDocument document)
 {
     Parameter = parameter;
     Config = config;
     dal = DAL;
     xdoc = document;
 }
 public NewsPublishHandler(string Url)
 {
     config = (NewsConfigurationSection)ConfigurationManager.GetSection("publish/newsPublish");
     Logger = LogManager.GetLogger(config.Logger);
     dal = new NewsDataAccess(config);
     PageParameter = GetParameter(Url);
     PageFileName = GetPageFileName();
 }
        public PageCreatorNewsDetail(NewsPageParameter parameter, NewsConfigurationSection config)
        {
            Parameter = parameter;
            Config = config;
            CreatorElement = config.PageCreators["detail"];

            Logger = LogManager.GetLogger(config.Logger);
            dal = new NewsDataAccess(config);
        }