Initialize() private méthode

private Initialize ( HttpContext context, PortalContextInitInfo initInfo ) : void
context System.Web.HttpContext
initInfo PortalContextInitInfo
Résultat void
Exemple #1
0
        internal static PortalContext Create(HttpContext context, PortalContextInitInfo initInfo)
        {
            PortalContext pc = new PortalContext();
            pc.Initialize(context, initInfo);

            context.Items.Add(CONTEXT_ITEM_KEY, pc);
            context.Items.Add(ApplicationStorage.DEVICEPARAMNAME, pc.DeviceName);

            return pc;
        }