Class ProviderOperation<T>
Base class for all provider reply classes.
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 |
|
keepWaiting
Gets a value indicating whether [keep waiting].
Declaration
public override bool keepWaiting { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
Overrides
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> |