docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023