Fantasy
搜索结果

    显示/隐藏目录

    FTaskCompleted 结构

    实现
    ICriticalNotifyCompletion
    INotifyCompletion
    继承成员
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    命名空间: Fantasy.Async
    程序集: Fantasy.Net.dll
    语法
    [StructLayout(LayoutKind.Auto)]
    [AsyncMethodBuilder(typeof(AsyncFTaskCompletedMethodBuilder))]
    public struct FTaskCompleted : ICriticalNotifyCompletion, INotifyCompletion

    属性

    | 编辑本文 查看源代码

    IsCompleted

    声明
    [DebuggerHidden]
    public bool IsCompleted { get; }
    属性值
    类型 描述
    bool

    方法

    | 编辑本文 查看源代码

    GetAwaiter()

    声明
    [DebuggerHidden]
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public FTaskCompleted GetAwaiter()
    返回
    类型 描述
    FTaskCompleted
    | 编辑本文 查看源代码

    GetResult()

    声明
    [DebuggerHidden]
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public void GetResult()
    | 编辑本文 查看源代码

    OnCompleted(Action)

    Schedules the continuation action that's invoked when the instance completes.

    声明
    [DebuggerHidden]
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public void OnCompleted(Action continuation)
    参数
    类型 名称 描述
    Action continuation

    The action to invoke when the operation completes.

    异常
    类型 条件
    ArgumentNullException

    The continuation argument is null (Nothing in Visual Basic).

    | 编辑本文 查看源代码

    UnsafeOnCompleted(Action)

    Schedules the continuation action that's invoked when the instance completes.

    声明
    [DebuggerHidden]
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public void UnsafeOnCompleted(Action continuation)
    参数
    类型 名称 描述
    Action continuation

    The action to invoke when the operation completes.

    异常
    类型 条件
    ArgumentNullException

    The continuation argument is null (Nothing in Visual Basic).

    实现

    ICriticalNotifyCompletion
    INotifyCompletion

    扩展方法

    JsonHelper.ToJson<T>(T)
    • 编辑本文
    • 查看源代码
    本文内容
    Back to top Generated by DocFX