docs.unity.cn
    Show / Hide Table of Contents

    Class ProviderOperation<T>

    Base class for all provider reply classes.

    Inheritance
    Object
    CustomYieldInstruction
    ProviderOperation<T>
    SynchronousProviderOperation<T>
    Inherited Members
    UnityEngine.CustomYieldInstruction.MoveNext()
    UnityEngine.CustomYieldInstruction.Reset()
    UnityEngine.CustomYieldInstruction.Current
    Namespace: UnityEngine.Industrial.Configuring.Providers
    Syntax
    public abstract class ProviderOperation<T> : CustomYieldInstruction, IEnumerator where T : ProviderReply
    Type Parameters
    Name Description
    T

    Properties

    isDone

    Returns

    true
    is the provider operation has finished,

    false
    otherwise.
    Declaration
    public bool isDone { get; }
    Property Value
    Type Description
    Boolean

    true if this instance is done; otherwise, false.

    keepWaiting

    Gets a value indicating whether [keep waiting].

    Declaration
    public override bool keepWaiting { get; }
    Property Value
    Type Description
    Boolean

    true if [keep waiting]; otherwise, false.

    Overrides
    CustomYieldInstruction.keepWaiting

    reply

    Reply from provider.

    Declaration
    public T reply { get; }
    Property Value
    Type Description
    T

    The reply.

    Methods

    Complete(T)

    Subclasses must call this method when the result is available.

    Declaration
    protected void Complete(T reply)
    Parameters
    Type Name Description
    T reply

    The reply.

    Events

    completed

    Event raised when the provider reply is available.

    Declaration
    public event ProviderOperationCompletedHandler<T> completed
    Event Type
    Type Description
    ProviderOperationCompletedHandler<T>
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 03 March 2021