Exemple #1
0
        public static MyRequestContext SetUserInfo(this MyRequestContext context, HttpRequest httpRequest)
        {
            var theGroup = context.GetOrCreate(context.GetGroupName_UserInfos());

            //todo
            return(context);
        }
Exemple #2
0
        public static MyUserInfo GetUserInfo(this MyRequestContext context)
        {
            var info     = new MyUserInfo();
            var theGroup = context.GetOrCreate(context.GetGroupName_UserInfos());

            theGroup.Items.SetProperties(info);
            return(info);
        }