Exemplo n.º 1
0
        protected void NotifyOnRevokeOnce(string key, object @this, IRevokeKey revokeKey)
        {
            var newContext = new RevokeContext(@this, revokeKey, TaskScheduler.Current);

            _revokeIndexer.AddRevokeContext(key, newContext);
        }
Exemplo n.º 2
0
        protected void NotifyOnRevokeOnce(string key, object @this, Func <string, Task> callback)
        {
            var newContext = new RevokeContext(@this, callback, TaskScheduler.Current);

            _revokeIndexer.AddRevokeContext(key, newContext);
        }