Пример #1
0
        public ClientInfosAll(string systemRootUrl, PortalSettings ps, ModuleInfo mic, SxcInstance sxc, UserInfo uinfo, int zoneId, bool isCreated)
        {
            Environment = new ClientInfosEnvironment(systemRootUrl, ps, mic, sxc);
            Language    = new ClientInfosLanguages(ps, zoneId);
            User        = new ClientInfosUser(uinfo);

            ContentBlock = new ClientInfoContentBlock(sxc.ContentBlock, null, 0);
            ContentGroup = new ClientInfoContentGroup(sxc, isCreated);
        }
Пример #2
0
        public ClientInfosAll(string systemRootUrl, PortalSettings ps, IInstanceInfo mic, SxcInstance sxc, UserInfo uinfo, int zoneId, bool isCreated, Log parentLog)
            : base("Sxc.CliInf", parentLog, "building entire client-context")
        {
            var versioning = sxc.Environment.PagePublishing;

            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.Id));
            ContentGroup = new ClientInfoContentGroup(sxc, isCreated);
            error        = new ClientInfosError(sxc.ContentBlock);
        }
Пример #3
0
        public ClientInfosAll(string systemRootUrl, PortalSettings ps, ModuleInfo mic, SxcInstance sxc, UserInfo uinfo, int zoneId, bool isCreated)
        {
            Environment = new ClientInfosEnvironment(systemRootUrl, ps, mic, sxc);
            Language = new ClientInfosLanguages(ps, zoneId);
            User = new ClientInfosUser(uinfo);

            ContentBlock = new ClientInfoContentBlock(sxc.ContentBlock, null, 0);
            ContentGroup = new ClientInfoContentGroup(sxc, isCreated);
            error = new ClientInfosError(sxc.ContentBlock);
        }