コード例 #1
0
ファイル: PartialActivity.cs プロジェクト: dalyl/MicroBluer
        public bool TryBack()
        {
            var value = RequestStack.Fetch();

            if (value != AgreementUri.Empty)
            {
                return(OpenWebview(value));
            }
            return(false);
        }
コード例 #2
0
ファイル: ResolveOperation.cs プロジェクト: yus1977/Autofac
 /// <summary>
 /// Enter a new dependency chain block where subsequent requests inside the operation are allowed to repeat
 /// registrations from before the block.
 /// </summary>
 /// <returns>A disposable that should be disposed to exit the block.</returns>
 public IDisposable EnterNewDependencyDetectionBlock() => RequestStack.EnterSegment();