Exemplo n.º 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);
 }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public DnnEnvironment(Log parentLog = null) : base("DNN.Enviro", parentLog)
 {
     PagePublishing = new PagePublishing(Log);
 }
Exemplo n.º 4
0
 public ListsBackendBase(IPagePublishing publishing, Lazy <CmsManager> cmsManagerLazy, IContextResolver ctxResolver) : base("Bck.Lists")
 {
     CtxResolver     = ctxResolver;
     _cmsManagerLazy = cmsManagerLazy;
     _publishing     = publishing.Init(Log);
 }
Exemplo n.º 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);
 }
Exemplo n.º 6
0
 public SxcPagePublishing(ContentGroupList contentGroupList, IPagePublishing pagePublishing) : base("Sxc.PgPubl")
 {
     _contentGroupList = contentGroupList;
     _pagePublishing   = pagePublishing;
 }
Exemplo n.º 7
0
 public ListsBackendBase(IPagePublishing publishing) : base("Bck.Lists")
 {
     _publishing = publishing.Init(Log);
 }
Exemplo n.º 8
0
 public DnnEnvironment(ILog parentLog = null) : base("DNN.Enviro", parentLog, "()")
 {
     PagePublishing = Eav.Factory.Resolve <IEnvironmentFactory>().PagePublisher(Log);
 }
Exemplo n.º 9
0
 public FieldListBackend(IServiceProvider sp, IPagePublishing publishing, Lazy <CmsManager> cmsManagerLazy, IContextResolver ctxResolver) : base(sp, cmsManagerLazy, ctxResolver, "Bck.FldLst")
     => _publishing = publishing.Init(Log);
Exemplo n.º 10
0
 public ContentBlockBackend(IPagePublishing publishing) : base("Bck.FldLst")
 {
     _publishing = publishing;
 }
Exemplo n.º 11
0
 public FieldListBackend(IPagePublishing publishing) : base("Bck.FldLst")
 {
     _publishing = publishing;
 }