Beispiel #1
0
        public static WispContext GetWispContext(this IOwinContext owinContext)
        {
            const string wispContextKey = "wisp.Context";

            var wispContext = owinContext.Get <WispContext>(wispContextKey);

            if (wispContext == null)
            {
                wispContext = new WispContext();
                owinContext.Set(wispContextKey, wispContext);
            }

            return(wispContext);
        }
Beispiel #2
0
 public GroupsManager(WispContext context)
     : base(context)
 {
 }
Beispiel #3
0
 public BaseManager(WispContext context)
 {
     this.Context = context;
 }
 public RightsManager(WispContext context)
     : base(context)
 {
 }