Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public GroupsManager(WispContext context)
     : base(context)
 {
 }
Exemplo n.º 3
0
 public BaseManager(WispContext context)
 {
     this.Context = context;
 }
Exemplo n.º 4
0
 public RightsManager(WispContext context)
     : base(context)
 {
 }