packages/Nito.AsyncEx.Tasks.1.1.0/lib/netstandard1.3/Nito.AsyncEx.Tasks.xml
(开头部分) 19KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<doc>
<assembly>
<name>Nito.AsyncEx.Tasks</name>
</assembly>
<members>
<member name="T:Nito.AsyncEx.CancellationTokenTaskSource`1">
<summary>
Holds the task for a cancellation token, as well as the token registration. The registration is disposed when this instance is disposed.
</summary>
</member>
<member name="F:Nito.AsyncEx.CancellationTokenTaskSource`1._registration">
<summary>
The cancellation token registration, if any. This is <c>null</c> if the registration was not necessary.
</summary>
</member>
<member name="M:Nito.AsyncEx.CancellationTokenTaskSource`1.#ctor(System.Threading.CancellationToken)">
<summary>
Creates a task for the specified cancellation token, registering with the token if necessary.
</summary>
<param name="cancellationToken">The cancellation token to observe.</param>
</member>
<member name="P:Nito.AsyncEx.CancellationTokenTaskSource`1.Task">
<summary>
Gets the task for the source cancellation token.
</summary>
</member>
<member name="M:Nito.AsyncEx.CancellationTokenTaskSource`1.Dispose">
<summary>
Disposes the cancellation token registration, if any. Note that this may cause <see cref="P:Nito.AsyncEx.CancellationTokenTaskSource`1.Task"/> to never complete.
</summary>
</member>
<member name="T:Nito.AsyncEx.SingleDisposable`1">
<summary>
A base class for disposables that need exactly-once semantics in a threadsafe way.
</summary>
<typeparam name="T">The type of "context" for the derived disposable.</typeparam>
</member>
<member name="M:Nito.AsyncEx.SingleDisposable`1.#ctor(`0)">
<summary>
Creates a disposable for the specified context.
</summary>
<param name="context">The context passed to <see cref="M:Nito.Disposables.SingleDisposable`1.Dispose(`0)"/>. If this is <c>null</c>, then <see cref="M:Nito.Disposables.SingleDisposable`1.Dispose(`0)"/> will never be called.</param>
</member>
<member name="T:Nito.AsyncEx.SynchronizationContextSwitcher">
<summary>
Utility class for temporarily switching <see cref="T:System.Threading.SynchronizationContext"/> implementations.
</summary>
</member>
<member name="F:Nito.AsyncEx.SynchronizationContextSwitcher._oldContext">
<summary>
The previous <see cref="T:System.Threading.SynchronizationContext"/>.
</summary>
</member>
<member name="M:Nito.AsyncEx.SynchronizationContextSwitcher.#ctor(System.Threading.SynchronizationContext)">
<summary>
Initializes a new instance of the <see cref="T:Nito.AsyncEx.SynchronizationContextSwitcher"/> class, installing the new <see cref="T:System.Threading.SynchronizationContext"/>.
</summary>
<param name="newContext">The new <see cref="T:System.Threading.SynchronizationContext"/>. This can be <c>null</c> to remove an existing <see cref="T:System.Threading.SynchronizationContext"/>.</param>
</member>
后面还有 250 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
