public ConfiguredMainThreadAwaitable(JoinableTaskFactory.MainThreadAwaitable mainThreadAwaitable, bool alwaysYield)
 {
     _mainThreadAwaitable = mainThreadAwaitable;
     _alwaysYield         = alwaysYield;
 }
示例#2
0
 internal ControlMainThreadAwaitable(JoinableTaskFactory.MainThreadAwaitable awaitable, IDisposable disposable, CancellationToken cancellationToken)
 {
     _awaitable         = awaitable;
     _disposable        = disposable;
     _cancellationToken = cancellationToken;
 }
示例#3
0
 internal ControlMainThreadAwaitable(JoinableTaskFactory.MainThreadAwaitable awaitable, IDisposable?disposable)
 {
     _awaitable  = awaitable;
     _disposable = disposable;
 }
示例#4
0
文件: AsyncManager.cs 项目: kzu/Merq
 public MainThreadAwaitable(JoinableTaskFactory.MainThreadAwaitable awaitable)
 {
     this.awaitable = awaitable;
 }