Example #1
0
 /// <summary>
 /// Constructor for DI, you must always call Init(...) afterwards
 /// </summary>
 public DnnEnvironment(IHttp http, ITenant tenant, IPagePublishing publishing, IZoneMapper zoneMapper) : base("DNN.Enviro")
 {
     _http          = http;
     _tenant        = tenant;
     PagePublishing = publishing.Init(Log);
     ZoneMapper     = zoneMapper.Init(Log);
 }
Example #2
0
        public ClientInfosAll(string systemRootUrl, PortalSettings ps, ModuleInfo mic, SxcInstance sxc, UserInfo uinfo, int zoneId, bool isCreated, Log parentLog)
        {
            Log = new Log("Sxc.CliInf", parentLog, "building entire client-context");
            IPagePublishing versioning = sxc.Environment.PagePublishing;// new PagePublishing(Log);

            Environment = new ClientInfosEnvironment(systemRootUrl, ps, mic, sxc);
            Language    = new ClientInfosLanguages(ps, zoneId);
            User        = new ClientInfosUser(uinfo);

            ContentBlock = new ClientInfoContentBlock(sxc.ContentBlock, null, 0, versioning.Requirements(mic.ModuleID));
            ContentGroup = new ClientInfoContentGroup(sxc, isCreated);
            error        = new ClientInfosError(sxc.ContentBlock);
        }
Example #3
0
 public DnnEnvironment(Log parentLog = null) : base("DNN.Enviro", parentLog)
 {
     PagePublishing = new PagePublishing(Log);
 }
Example #4
0
 public ListsBackendBase(IPagePublishing publishing, Lazy <CmsManager> cmsManagerLazy, IContextResolver ctxResolver) : base("Bck.Lists")
 {
     CtxResolver     = ctxResolver;
     _cmsManagerLazy = cmsManagerLazy;
     _publishing     = publishing.Init(Log);
 }
Example #5
0
 /// <summary>
 /// Constructor overload for DotNetNuke
 /// (BusinessController needs a parameterless constructor)
 /// </summary>
 public DnnBusinessController()
 {
     Log        = new Log("DNN.BusCon", null, "starting the business controller");
     Publishing = new PagePublishing(Log);
 }
Example #6
0
 public SxcPagePublishing(ContentGroupList contentGroupList, IPagePublishing pagePublishing) : base("Sxc.PgPubl")
 {
     _contentGroupList = contentGroupList;
     _pagePublishing   = pagePublishing;
 }
Example #7
0
 public ListsBackendBase(IPagePublishing publishing) : base("Bck.Lists")
 {
     _publishing = publishing.Init(Log);
 }
Example #8
0
 public DnnEnvironment(ILog parentLog = null) : base("DNN.Enviro", parentLog, "()")
 {
     PagePublishing = Eav.Factory.Resolve <IEnvironmentFactory>().PagePublisher(Log);
 }
Example #9
0
 public FieldListBackend(IServiceProvider sp, IPagePublishing publishing, Lazy <CmsManager> cmsManagerLazy, IContextResolver ctxResolver) : base(sp, cmsManagerLazy, ctxResolver, "Bck.FldLst")
     => _publishing = publishing.Init(Log);
Example #10
0
 public ContentBlockBackend(IPagePublishing publishing) : base("Bck.FldLst")
 {
     _publishing = publishing;
 }
Example #11
0
 public FieldListBackend(IPagePublishing publishing) : base("Bck.FldLst")
 {
     _publishing = publishing;
 }