public ContentRepository( ICategoryRepo catRepo, ITemplateRepo tempRep) { this._catRepo = catRepo; this._tempRep = tempRep; siteContents = new Dictionary <int, IContentContainer>(); }
public IContentContainer CreateSiteContent( ICategoryRepo catRepo, IArchiveRepository archiveRep, ITemplateRepo tempRep, int siteId) { return(new ContentContainer(catRepo, archiveRep, tempRep, siteId)); }
/// <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)); }
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; }
public BaseContent( IContentRepository contentRep, IExtendFieldRepository extendRep, ICategoryRepo categoryRep, ITemplateRepo templateRep) { this._contentRep = contentRep; this._extendRep = extendRep; this._categoryRep = categoryRep; this._templateRep = templateRep; }
internal ContentContainer( ICategoryRepo catRepo, IArchiveRepository archiveRep, ITemplateRepo tempRep, int siteId) { _catRepo = catRepo; _archiveRep = archiveRep; _tempRep = tempRep; SiteId = siteId; }
/// <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)); }
public SiteRepository( IExtendFieldRepository extendFieldRepository, ICategoryRepo categoryRepository, ITemplateRepo tempRep, IUserRepository userRep ) { this._extendFieldRepository = extendFieldRepository; this._categoryRep = categoryRepository; this._tempRep = tempRep; this._userRep = userRep; }
public ArchiveRepository( IContentRepository contentRep, IExtendFieldRepository extendRep, ITemplateRepo templateRep, ICategoryRepo categoryRep ) { _contentRep = contentRep; _extendRep = extendRep; _templateRep = templateRep; _categoryRep = categoryRep; }
public CategoryRepository( //ISiteRepository siteRep, ITemplateRepo tempRep, IExtendFieldRepository extendRep) { // //NOTE:会循环依赖 // this._extendRep = extendRep; this._tempRep = tempRep; //this._siteRep = ObjectFactory.GetInstance<ISiteRepository>(); // GetCategoryDictionary(); }
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; }
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; }
/// <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)); }
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; }
public TemplateController(ITemplateRepo ITemplateRepo) { _ITemplateRepo = ITemplateRepo; }
public MessageFactory(ITemplateRepo templateRepo) { this.templateRepo = templateRepo; }
public TemplatesController(ScreenContext context, IMapper mapper, ITemplateRepo templateRepo) { _context = context; _mapper = mapper; _templateRepo = templateRepo; }