Esempio n. 1
0
 internal Archive(
     IContentRepository contentRep,
     IArchiveRepository archiveRep,
     ILinkRepository linkRep,
     IExtendFieldRepository extendRep,
     ICategoryRepository categoryRep,
     ITemplateRepository templateRep,
     int id,
     string strId,
     int categoryId,
     string title)
     : base(
         contentRep,
         extendRep,
         categoryRep,
         templateRep,
         linkRep,
         id,
         categoryId,
         title
         )
 {
     this.StrId        = strId;
     this._archiveRep  = archiveRep;
     this._templateRep = templateRep;
 }
Esempio n. 2
0
 internal Archive(
     IContentRepository contentRep,
     IArchiveRepository archiveRep,
     ILinkRepository linkRep,
     IExtendFieldRepository extendRep,
     ICategoryRepository categoryRep,
     ITemplateRepository templateRep,
     int id,
     string strId,
     int categoryId,
     string title)
     : base(
         contentRep,
         extendRep,
         categoryRep,
         templateRep,
         linkRep,
         id,
         categoryId,
         title
         )
 {
     this.StrId = strId;
     this._archiveRep = archiveRep;
     this._templateRep = templateRep;
 }
Esempio n. 3
0
 internal Category(ICategoryRepository rep,IExtendFieldRepository extendRep,ITemplateRepository tmpRep, int id,ISite site)
 {
     this.Site = site;
     this._rep = rep;
     this.Id = id;
     this._extendRep = extendRep;
     this._tempRep = tmpRep;
 }
Esempio n. 4
0
 internal Category(ICategoryRepository rep, IExtendFieldRepository extendRep, ITemplateRepository tmpRep, int id, ISite site)
 {
     this.Site       = site;
     this._rep       = rep;
     this.Id         = id;
     this._extendRep = extendRep;
     this._tempRep   = tmpRep;
 }
Esempio n. 5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="categoryRep"></param>
 /// <param name="extendRep"></param>
 /// <param name="tempRep"></param>
 /// <param name="categoryId"></param>
 /// <param name="site"></param>
 /// <returns></returns>
 public ICategory CreateCategory(
     ICategoryRepository categoryRep,
     IExtendFieldRepository extendRep,
     ITemplateRepository tempRep,
     int categoryId,
     ISite site)
 {
     return new Category(categoryRep, extendRep, tempRep,categoryId, site);
 }
Esempio n. 6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="categoryRep"></param>
 /// <param name="extendRep"></param>
 /// <param name="tempRep"></param>
 /// <param name="categoryId"></param>
 /// <param name="site"></param>
 /// <returns></returns>
 public ICategory CreateCategory(
     ICategoryRepo categoryRep,
     ISiteRepo siteRepo,
     IExtendFieldRepository extendRep,
     ITemplateRepo tempRep,
     CmsCategoryEntity value)
 {
     return(new Category(categoryRep, siteRepo, extendRep, tempRep, value));
 }
Esempio n. 7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="categoryRep"></param>
 /// <param name="extendRep"></param>
 /// <param name="tempRep"></param>
 /// <param name="categoryId"></param>
 /// <param name="site"></param>
 /// <returns></returns>
 public ICategory CreateCategory(
     ICategoryRepository categoryRep,
     IExtendFieldRepository extendRep,
     ITemplateRepository tempRep,
     int categoryId,
     ISite site)
 {
     return(new Category(categoryRep, extendRep, tempRep, categoryId, site));
 }
Esempio n. 8
0
 public ArchiveService(
     IContentRepository contentRep,
     ISiteRepository siteRep,
     IExtendFieldRepository extendRep
     )
 {
     this._contentRep = contentRep;
     this._siteRep = siteRep;
     this._extendRep = extendRep;
 }
Esempio n. 9
0
 public SiteRepository(
     IExtendFieldRepository extendFieldRepository,
     ICategoryRepository categoryRepository,
     ITemplateRepository tempRep
     )
 {
     this._extendFieldRepository = extendFieldRepository;
     this._categoryRep           = categoryRepository;
     this._tempRep = tempRep;
 }
Esempio n. 10
0
 public ArchiveService(
     IContentRepository contentRep,
     ISiteRepository siteRep,
     IExtendFieldRepository extendRep
     )
 {
     this._contentRep = contentRep;
     this._siteRep    = siteRep;
     this._extendRep  = extendRep;
 }
Esempio n. 11
0
 public ArchiveService(
     IContentRepository contentRep,
     ICategoryRepo catRepo,
     IExtendFieldRepository extendRep
     )
 {
     _contentRep = contentRep;
     _extendRep  = extendRep;
     _catRepo    = catRepo;
 }
Esempio n. 12
0
 internal Category(ICategoryRepo rep, ISiteRepo siteRepo,
     IExtendFieldRepository extendRep, ITemplateRepo tmpRep, 
     CmsCategoryEntity value)
 {
     this.value = value;
     this._repo = rep;
     this._extendRep = extendRep;
     this._tempRep = tmpRep;
     this.siteRepo = siteRepo;
 }
Esempio n. 13
0
 public SiteRepository(
     IExtendFieldRepository extendFieldRepository,
     ICategoryRepository categoryRepository,
     ITemplateRepository tempRep
     )
 {
     this._extendFieldRepository = extendFieldRepository;
     this._categoryRep = categoryRepository;
     this._tempRep = tempRep;
 }
Esempio n. 14
0
 public SiteService(ISiteRepository resp,
     ICategoryRepository categoryRep,
     IExtendFieldRepository extendFieldPository,
     ITemplateRepository tempRep)
 {
     this._resp = resp;
     this._extendResp = extendFieldPository;
     this._categoryRep = categoryRep;
     this._tempRep = tempRep;
 }
Esempio n. 15
0
 public SiteService(ISiteRepository resp,
                    ICategoryRepository categoryRep,
                    IExtendFieldRepository extendFieldPository,
                    ITemplateRepository tempRep)
 {
     this._resp        = resp;
     this._extendResp  = extendFieldPository;
     this._categoryRep = categoryRep;
     this._tempRep     = tempRep;
 }
Esempio n. 16
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="contentRep"></param>
 /// <param name="archiveRep"></param>
 /// <param name="extendRep"></param>
 /// <param name="categoryRep"></param>
 /// <param name="templateRep"></param>
 /// <param name="linkRep"></param>
 /// <param name="id"></param>
 /// <param name="strId"></param>
 /// <param name="categoryId"></param>
 /// <param name="title"></param>
 /// <returns></returns>
 public IArchive CreateArchive(
     IContentRepository contentRep,
     IArchiveRepository archiveRep,
     IExtendFieldRepository extendRep,
     ICategoryRepo categoryRep,
     ITemplateRepo templateRep,
     CmsArchiveEntity value)
 {
     return(new Archive(contentRep, archiveRep, extendRep,
                        categoryRep, templateRep, value));
 }
Esempio n. 17
0
 public BaseContent(
     IContentRepository contentRep,
     IExtendFieldRepository extendRep,
     ICategoryRepo categoryRep,
     ITemplateRepo templateRep)
 {
     this._contentRep  = contentRep;
     this._extendRep   = extendRep;
     this._categoryRep = categoryRep;
     this._templateRep = templateRep;
 }
Esempio n. 18
0
 public ArchiveService(
     IContentRepository contentRep,
     ISiteRepo siteRep,
     ICategoryRepo catRepo,
     IExtendFieldRepository extendRep
     )
 {
     this._contentRep = contentRep;
     this._siteRep    = siteRep;
     this._extendRep  = extendRep;
     this._catRepo    = catRepo;
 }
Esempio n. 19
0
 public ArchiveRepository(
     IContentRepository contentRep,
     IExtendFieldRepository extendRep,
     ITemplateRepository templateRep,
     ICategoryRepository categoryRep
     )
 {
     this._contentRep  = contentRep;
     this._extendRep   = extendRep;
     this._templateRep = templateRep;
     this._categoryRep = categoryRep;
 }
Esempio n. 20
0
 public SiteRepository(
     IExtendFieldRepository extendFieldRepository,
     ICategoryRepo categoryRepository,
     ITemplateRepo tempRep,
     IUserRepository userRep
     )
 {
     this._extendFieldRepository = extendFieldRepository;
     this._categoryRep           = categoryRepository;
     this._tempRep = tempRep;
     this._userRep = userRep;
 }
Esempio n. 21
0
 public ArchiveRepository(
     IContentRepository contentRep,
     IExtendFieldRepository extendRep,
     ITemplateRepo templateRep,
     ICategoryRepo categoryRep
     )
 {
     _contentRep  = contentRep;
     _extendRep   = extendRep;
     _templateRep = templateRep;
     _categoryRep = categoryRep;
 }
Esempio n. 22
0
        public CategoryRepository(
            //ISiteRepository siteRep,
            ITemplateRepo tempRep,
            IExtendFieldRepository extendRep)
        {
            //
            //NOTE:会循环依赖
            //
            this._extendRep = extendRep;
            this._tempRep   = tempRep;
            //this._siteRep = ObjectFactory.GetInstance<ISiteRepository>();

            // GetCategoryDictionary();
        }
Esempio n. 23
0
 public ArchiveRepository(
     IContentRepository contentRep,
     IExtendFieldRepository extendRep,
     ITemplateRepository templateRep,
     ICategoryRepository categoryRep,
     ILinkRepository linkRep
     )
 {
     this._contentRep = contentRep;
     this._extendRep = extendRep;
     this._templateRep = templateRep;
     this._categoryRep = categoryRep;
     this._linkRep = linkRep;
 }
Esempio n. 24
0
        public CategoryRepository(
            //ISiteRepository siteRep, 
            ITemplateRepository tempRep,
            IExtendFieldRepository extendRep)
        {
            //
            //NOTE:会循环依赖
            //
            this._extendRep = extendRep;
            this._tempRep = tempRep;
            //this._siteRep = ObjectFactory.GetInstance<ISiteRepository>();

            // GetCategoryDictionary();
        }
Esempio n. 25
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="contentRep"></param>
 /// <param name="archiveRep"></param>
 /// <param name="extendRep"></param>
 /// <param name="categoryRep"></param>
 /// <param name="templateRep"></param>
 /// <param name="linkRep"></param>
 /// <param name="id"></param>
 /// <param name="strId"></param>
 /// <param name="categoryId"></param>
 /// <param name="title"></param>
 /// <returns></returns>
 public IArchive CreateArchive(
     IContentRepository contentRep,
     IArchiveRepository archiveRep,
     IExtendFieldRepository extendRep,
     ICategoryRepository categoryRep,
     ITemplateRepository templateRep,
     ILinkRepository linkRep,
     int id,
     string strId,
     int categoryId,
     string title)
 {
     return new Archive(contentRep, archiveRep, linkRep, extendRep, categoryRep, templateRep, id, strId, categoryId, title);
 }
Esempio n. 26
0
 internal Site(ISiteRepository siteRepository,
               IExtendFieldRepository extendRepository,
               ICategoryRepository categoryRep,
               ITemplateRepository tempRep,
               int siteId,
               string name)
 {
     this.Id                = siteId;
     this.Name              = name;
     this._siteRepository   = siteRepository;
     this._categoryRep      = categoryRep;
     this._extendRepository = extendRepository;
     this._tempRep          = tempRep;
 }
Esempio n. 27
0
 internal Site(ISiteRepository siteRepository,
     IExtendFieldRepository extendRepository,
     ICategoryRepository categoryRep,
     ITemplateRepository tempRep,
     int siteId,
     string name)
 {
     this.Id = siteId;
     this.Name = name;
     this._siteRepository = siteRepository;
     this._categoryRep = categoryRep;
     this._extendRepository = extendRepository;
     this._tempRep = tempRep;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="contentRep"></param>
 /// <param name="archiveRep"></param>
 /// <param name="extendRep"></param>
 /// <param name="categoryRep"></param>
 /// <param name="templateRep"></param>
 /// <param name="linkRep"></param>
 /// <param name="id"></param>
 /// <param name="strId"></param>
 /// <param name="categoryId"></param>
 /// <param name="title"></param>
 /// <returns></returns>
 public IArchive CreateArchive(
     IContentRepository contentRep,
     IArchiveRepository archiveRep,
     IExtendFieldRepository extendRep,
     ICategoryRepository categoryRep,
     ITemplateRepository templateRep,
     ILinkRepository linkRep,
     int id,
     string strId,
     int categoryId,
     string title)
 {
     return(new Archive(contentRep, archiveRep, linkRep, extendRep, categoryRep, templateRep, id, strId, categoryId, title));
 }
Esempio n. 29
0
 public SiteService(ISiteRepo resp,
                    ICategoryRepo categoryRep,
                    IArchiveRepository archiveRep,
                    IExtendFieldRepository extendFieldPository,
                    IContentRepository contentRep,
                    ITemplateRepo tempRep)
 {
     this.repo         = resp;
     this._extendRep   = extendFieldPository;
     this._categoryRep = categoryRep;
     this._archiveRep  = archiveRep;
     this._contentRep  = contentRep;
     this._tempRep     = tempRep;
 }
Esempio n. 30
0
 internal Site(ISiteRepo siteRepository,
               IExtendFieldRepository extendRepository,
               ICategoryRepo categoryRep,
               ITemplateRepo tempRep,
               IUserRepository userRep,
               CmsSiteEntity site)
 {
     this.value             = site;
     this._siteRepository   = siteRepository;
     this._categoryRep      = categoryRep;
     this._extendRepository = extendRepository;
     this._tempRep          = tempRep;
     this._userRep          = userRep;
 }
Esempio n. 31
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="resp"></param>
 /// <param name="extendRepository"></param>
 /// <param name="categoryRep"></param>
 /// <param name="tempRep"></param>
 /// <param name="siteid"></param>
 /// <param name="name"></param>
 /// <returns></returns>
 public ISite CreateSite(
     ISiteRepository resp,
     IExtendFieldRepository extendRepository,
     ICategoryRepository categoryRep,
     ITemplateRepository tempRep,
     int siteid,
     string name
     )
 {
     return new Site(resp,
         extendRepository,
         categoryRep,
         tempRep,
         siteid,
         name);
 }
Esempio n. 32
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="resp"></param>
 /// <param name="extendRepository"></param>
 /// <param name="categoryRep"></param>
 /// <param name="tempRep"></param>
 /// <param name="siteId"></param>
 /// <param name="name"></param>
 /// <returns></returns>
 public ISite CreateSite(
     ISiteRepo resp,
     IExtendFieldRepository extendRepository,
     ICategoryRepo categoryRep,
     ITemplateRepo tempRep,
     IUserRepository userRep,
     CmsSiteEntity site
     )
 {
     return(new Site(resp,
                     extendRepository,
                     categoryRep,
                     tempRep,
                     userRep,
                     site));
 }
Esempio n. 33
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="resp"></param>
 /// <param name="extendRepository"></param>
 /// <param name="categoryRep"></param>
 /// <param name="tempRep"></param>
 /// <param name="siteid"></param>
 /// <param name="name"></param>
 /// <returns></returns>
 public ISite CreateSite(
     ISiteRepository resp,
     IExtendFieldRepository extendRepository,
     ICategoryRepository categoryRep,
     ITemplateRepository tempRep,
     int siteid,
     string name
     )
 {
     return(new Site(resp,
                     extendRepository,
                     categoryRep,
                     tempRep,
                     siteid,
                     name));
 }
Esempio n. 34
0
 internal Archive(
     IContentRepository contentRep,
     IArchiveRepository archiveRep,
     IExtendFieldRepository extendRep,
     ICategoryRepo categoryRep,
     ITemplateRepo templateRep,
     CmsArchiveEntity value)
     : base(
         contentRep,
         extendRep,
         categoryRep,
         templateRep
         )
 {
     this._value       = value;
     this._archiveRep  = archiveRep;
     this._templateRep = templateRep;
     this._catRepo     = categoryRep;
 }
Esempio n. 35
0
        public BaseContent(
            IContentRepository contentRep,
            IExtendFieldRepository extendRep,
            ICategoryRepository categoryRep,
            ITemplateRepository templateRep,
            int id,
            int categoryId,
            string title)
        {
            this._contentRep  = contentRep;
            this._extendRep   = extendRep;
            this._categoryRep = categoryRep;
            this._templateRep = templateRep;

            this.Id          = id;
            this.Title       = title;
            this._categoryId = categoryId;
            this.Id          = id;
        }
Esempio n. 36
0
        public BaseContent(
            IContentRepository contentRep,
            IExtendFieldRepository extendRep,
            ICategoryRepository categoryRep,
            ITemplateRepository templateRep,
            ILinkRepository linkRep,
            int id,
            int categoryId,
            string title)
        {
            this._contentRep  = contentRep;
            this._linkRep     = linkRep;
            this._extendRep   = extendRep;
            this._categoryRep = categoryRep;
            this._templateRep = templateRep;

            this.Id        = id;
            this._category = this._categoryRep.CreateCategory(categoryId, null);
            this.Title     = title;
            this.Id        = id;
        }
Esempio n. 37
0
        public BaseContent(
            IContentRepository contentRep,
            IExtendFieldRepository extendRep,
            ICategoryRepository categoryRep,
            ITemplateRepository templateRep,
            ILinkRepository linkRep,
            int id,
            int categoryId,
            string title)
        {
            this._contentRep = contentRep;
            this._linkRep = linkRep;
            this._extendRep = extendRep;
            this._categoryRep = categoryRep;
            this._templateRep = templateRep;

            this.ID = id;
            this._category = this._categoryRep.CreateCategory(categoryId, null);
            this.Title = title;
            this.ID = id;
        }
Esempio n. 38
0
 public ExtendManager(IExtendFieldRepository resp, int siteId)
 {
     this.SiteId = siteId;
     this._resp = resp;
 }
Esempio n. 39
0
 public ExtendManager(IExtendFieldRepository resp, int siteId)
 {
     this.SiteId = siteId;
     this._rep   = resp;
 }