Inheritance: ClientInfoEntity
コード例 #1
0
ファイル: RenderingHelpers.cs プロジェクト: SpivEgin/2sxc
        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
ファイル: ClientInfosAll.cs プロジェクト: ilolo3/2sxc
        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
ファイル: RenderingHelpers.cs プロジェクト: 2sic/2sxc
        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);
        }