packages/Nito.Cancellation.1.0.4/lib/netstandard2.0/Nito.Cancellation.xml

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Nito.Cancellation</name>
    </assembly>
    <members>
        <member name="T:Nito.NormalizedCancellationToken">
            <summary>
            A cancellation token wrapper that may represent multiple linked cancellation tokens. Instances of this type should always be disposed.
            </summary>
        </member>
        <member name="F:Nito.NormalizedCancellationToken._cts">
            <summary>
            The <see cref="T:System.Threading.CancellationTokenSource"/>, if any. If this is not <c>null</c>, then <see cref="F:Nito.NormalizedCancellationToken._token"/> is <c>_cts.Token</c>.
            </summary>
        </member>
        <member name="F:Nito.NormalizedCancellationToken._token">
            <summary>
            The <see cref="P:Nito.NormalizedCancellationToken.Token"/>. If <see cref="F:Nito.NormalizedCancellationToken._cts"/> is not <c>null</c>, then this is <c>_cts.Token</c>.
            </summary>
        </member>
        <member name="M:Nito.NormalizedCancellationToken.#ctor">
            <summary>
            Creates a normalized cancellation token that can never be canceled.
            </summary>
        </member>
        <member name="M:Nito.NormalizedCancellationToken.#ctor(System.Threading.CancellationTokenSource)">
            <summary>
            Creates a normalized cancellation token from a <see cref="T:System.Threading.CancellationTokenSource"/>. <see cref="P:Nito.NormalizedCancellationToken.Token"/> is set to the <see cref="P:System.Threading.CancellationTokenSource.Token"/> property of <paramref name="cts"/>.
            </summary>
            <param name="cts">The source for this token. May be <c>null</c> to create a normalized cancellation token that can never be canceled.</param>
        </member>
        <member name="M:Nito.NormalizedCancellationToken.#ctor(System.Threading.CancellationToken)">
            <summary>
            Creates a normalized cancellation token from a <see cref="T:System.Threading.CancellationToken"/>. <see cref="P:Nito.NormalizedCancellationToken.Token"/> is set to <paramref name="token"/>.
            </summary>
            <param name="token">The source for this token.</param>
        </member>
        <member name="M:Nito.NormalizedCancellationToken.Dispose(System.Object)">
            <summary>
            Releases any resources used by this normalized cancellation token.
            </summary>
        </member>
        <member name="P:Nito.NormalizedCancellationToken.Token">
            <summary>
            Gets the <see cref="T:System.Threading.CancellationToken"/> for this normalized cancellation token.
            </summary>
        </member>
        <member name="M:Nito.NormalizedCancellationToken.Timeout(System.TimeSpan)">
            <summary>
            Creates a cancellation token that is canceled after the due time.
            </summary>
            <param name="dueTime">The due time after which to cancel the token.</param>
            <returns>A cancellation token that is canceled after the due time.</returns>
        </member>
        <member name="M:Nito.NormalizedCancellationToken.Timeout(System.Int32)">
            <summary>
            Creates a cancellation token that is canceled after the due time.
            </summary>
            <param name="dueTime">The due time after which to cancel the token.</param>
后面还有 16 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。